Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Import navigation menus and their ADT inside portal_normal.ftl
Alessandro Candini, modified 6 Years ago.
Regular Member
Posts: 130
Join Date: 10/17/15
Recent Posts
Hi! I'm using Liferay 7.2 CE GA1 and I like a lot custom navigation menus.
But, how can I embed them inside my portal_normal.ftl, using their related ADT?
Could you please give me a little snippet to achieve this goal?
Thank you.
But, how can I embed them inside my portal_normal.ftl, using their related ADT?
Could you please give me a little snippet to achieve this goal?
Thank you.
Alessandro Candini, modified 6 Years ago.
Regular Member
Posts: 130
Join Date: 10/17/15
Recent Posts
I've found the following solution, using taglib inside my portal_norma.ftl:
But how to style this with a custom ADT? Is there a taglib parameter to set it?
Thank you.
<@liferay.navigation_menu instance_id="top_menu" default_preferences="${freeMarkerPortletPreferences}" /> But how to style this with a custom ADT? Is there a taglib parameter to set it?
Thank you.