Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Daniel Aschauer
AssetPublisher hook - Display Mode
December 4, 2012 6:26 AM
Answer

Daniel Aschauer

Rank: Junior Member

Posts: 39

Join Date: October 22, 2012

Recent Posts

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
Daniel Aschauer
RE: AssetPublisher hook - Display Mode
December 4, 2012 6:36 AM
Answer

Daniel Aschauer

Rank: Junior Member

Posts: 39

Join Date: October 22, 2012

Recent Posts

Found it already. Well described at:
http://www.liferay.com/community/wiki/-/wiki/Main/Asset+Publisher+Portlet
Daniel Aschauer
RE: AssetPublisher hook - Display Mode
December 4, 2012 6:56 AM
Answer

Daniel Aschauer

Rank: Junior Member

Posts: 39

Join Date: October 22, 2012

Recent Posts

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?