I have started learning with Liferay 6.1
What I wish to achieve is: Displaying of Navigation Menus on several pages.
What I did is:
- Added Navigation portlet on a page and configured it to display all the links of pages (and also marking the current page link as bold)
What I researched is:
- I have read on several forums, that changing the
scopeabletag of Navigation Portlet to true inliferay-portlet.xmlfile.
But the problem I am facing is:
- I could not find where liferay’s Navigation portlet exist. Like I found its existence in
liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/ROOT/html/portlet/navigation, but then it doesn’t contains anyliferay-portlet.xmlfile in it.
Please help!
Ok, finally I have found some solutions, which makes a stable navigations menus to be displayed on the pages desired.
First add a navigation menu to the page desired.
Goto Dockbar-> Add -> Page. (Add your page’s menu name).
Goto Dockbar-> Manage-> Page
Here you find an option of “Add portlets from page” -> Click -> Select the page where you have your navigation menu’s placed.
Finally you will see your new page loaded with all the portlets found on your existing portlets, and the relevant menu link is selected too.
That’s it.
Also you will see that all portlets are copied, so you can remove the one’s you don’t need. And also these lets you maintain the layout without modifying anything in your themes files.
Thanks!