How to tag pages and layout (not assets) in Liferay -


i have liferay site. have several pages needs tagged can them in custom portlet. need present page alphabetic index of tagged pages.

i have read documentation , have seen liferay can put tag or category on "assets" (web content, etc.) , not on page/layout.

can suggest me way it?

you right tag/category, these can't applyed layout (unfortunately).

the best alternative use custom attribute , define fields page.

see image

you can read custom attribute page using expandobridge api. here example read attribute within theme velocity template.

#set ($customfield= $layout.getexpandobridge().getattribute("customfieldkey")) 

note: remember set permissions on each custom attribute. it's important!


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -