Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Padmanabha V N
customizing Navigation Links
November 6, 2011 11:37 PM
Answer

Padmanabha V N

Rank: New Member

Posts: 11

Join Date: February 15, 2011

Recent Posts

Hi

I am installing the Pages via LayoutLocalServiceUtil (addLayout ) from hook . I want few pages to appear on menu link and few should not appear in navigation links.

and I want the menu links should not be closable.

How can I do this .. Please help
Sagar A Vyas
RE: customizing Navigation Links
November 7, 2011 12:01 AM
Answer

Sagar A Vyas

Rank: Liferay Master

Posts: 656

Join Date: April 17, 2009

Recent Posts

Padmanabha V:

I want the menu links should not be closable.

How can I do this .. Please help


Hi Padmanabha,

You mean like you dont want user to close (Delete) page from menu-bar ?

Thanks,
Sagar Vyas
Padmanabha V N
RE: customizing Navigation Links
November 7, 2011 12:15 AM
Answer

Padmanabha V N

Rank: New Member

Posts: 11

Join Date: February 15, 2011

Recent Posts

Yes sagar ...
Sagar A Vyas
RE: customizing Navigation Links
November 7, 2011 12:20 AM
Answer

Sagar A Vyas

Rank: Liferay Master

Posts: 656

Join Date: April 17, 2009

Recent Posts

Hi Padmanabha,

For this you need to remove one css class modify-pages from navigation.vm in your theme.

Hope this help emoticon

Thanks,
Sagar Vyas
Padmanabha V N
RE: customizing Navigation Links
November 7, 2011 1:38 AM
Answer

Padmanabha V N

Rank: New Member

Posts: 11

Join Date: February 15, 2011

Recent Posts

yes it works.. emoticon but is there a way to customize.. which are the links that should appear in the menu navigation ??
Sagar A Vyas
RE: customizing Navigation Links
November 7, 2011 1:41 AM
Answer

Sagar A Vyas

Rank: Liferay Master

Posts: 656

Join Date: April 17, 2009

Recent Posts

Hi Padmanabha,

I think as per your requirement this solution is best fit in it emoticon

Other solution could be there that i would not recommend

Thanks,
Sagar Vyas