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.
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
Post a Comment