Reputation: 293
I am in the process of migrating my current web application to liferay.I have requirement to customize left navigation bar according to my app. For e.g. I have left side vertical navigation menu with items as below
Home
Company Info
Revenue Details
When clicked on each of the menu items separate portlet would be opened in the right content pane. For instance,company information should go to to the custom company portlet I have created .
Could you please help me understand how can I acheive this in Liferay 6.2? Thank you.
Upvotes: 2
Views: 4846
Reputation: 253
If you want the Left Navigation then use 30-70 Layout and use SiteMap portlet on left side
Upvotes: 0
Reputation: 11698
navigation.vm
is the file you are looking for.As per the comment below, here are my suggestions:
Source
tab to include javascript/css/html for the clickable links to portlet.You can utilize the portlet-Ids or css classes for scrolling to them when a particular link in web-content is clicked from the Look & Feel
tab from Configuration tab as follows:
Hope this helps.
Upvotes: 1
Reputation: 1141
Liferay wraps portlet content that get displayed inside a div tag having unique portlet instance id. In portlet header, Look and Feel -> Advanced Styling, it displays that portlet id for example Portlet ID: #p_p_id_73_INSTANCE_xZVK6VFSqAzJ_
This ID may be used to hash tag in anchor to move focus to that portlet section.
Note: If the portlets on the page are instanceable, then removing an instance and adding instance again get new instance id. So, previous hash tag link doesn't work.
Upvotes: 1