You can add custom display styles to the asset publisher. Let's say you want to add a display style called "MyDisplayTemplate".
First of all you add your style's name to the following portal property:
asset.publisher.display.styles= table,title-list,abstracts,full-content,MyDisplayTemplateNow you have to create a hook for the asset publisher. Add a jsp called "MyDisplayTemplate.jsp" in "docroot\custom_jsps\html\portlet\asset_publisher\display". Consider that the jsp file's name has to be exact the same as you defined it in portal.properties.
That's it!
It would be nice if you can provide some coding for MyDisplayTemplate.jsp. It will help beginners like me to start modifying asset publishers' display
ReplyDelete