Foros de discusión
AssetPublisher hook - Display Mode
Daniel Aschauer, modificado hace 11 años.
AssetPublisher hook - Display Mode
Junior Member Mensajes: 39 Fecha de incorporación: 22/10/12 Mensajes recientes
Hi!
I modified the display of the Asset Publisher, by a hook modifying abstracts.jsp.
Sure, now everywhere the abstract view is used this is rendered by my custom jsp. But how can I do to add a new jsp / view mode that then be available in the asset puplisher configuration (as a Display Style in Display Settings?
Thanks,
Daniel
I modified the display of the Asset Publisher, by a hook modifying abstracts.jsp.
Sure, now everywhere the abstract view is used this is rendered by my custom jsp. But how can I do to add a new jsp / view mode that then be available in the asset puplisher configuration (as a Display Style in Display Settings?
Thanks,
Daniel
Daniel Aschauer, modificado hace 11 años.
RE: AssetPublisher hook - Display Mode
Junior Member Mensajes: 39 Fecha de incorporación: 22/10/12 Mensajes recientes
Found it already. Well described at:
http://www.liferay.com/community/wiki/-/wiki/Main/Asset+Publisher+Portlet
http://www.liferay.com/community/wiki/-/wiki/Main/Asset+Publisher+Portlet
Daniel Aschauer, modificado hace 11 años.
RE: AssetPublisher hook - Display Mode
Junior Member Mensajes: 39 Fecha de incorporación: 22/10/12 Mensajes recientes
The custom view works, however I'd like to have the same as in abstracts, that is the option to select length of the abstract.
Can that be added / configurated somewhere?
Can that be added / configurated somewhere?