You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

Hiding the navigation menu on the left

8 replies [Last post]
HH's picture
HH
User offline. Last seen 10 years 15 weeks ago. Offline
Joined: 07/09/2008
Posts: 17

How can i hide the navigation menu for specific components using Peoplecode ?
Thanks.

Ashar's picture
User offline. Last seen 5 years 1 week ago. Offline
Joined: 03/26/2008
Posts: 227
Re: Hiding the navigation menu on the left

do you mean hiding particular component/folder? or the whole navigtion menu frame?

Lepa's picture
User offline. Last seen 2 years 20 weeks ago. Offline
Joined: 06/23/2008
Posts: 591
Re: Hiding the navigation menu on the left

If you navigate to the content reference setup page for your component, you should be able to see a "No Template" Check Box. Did you try checking that?

Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog

shiv4uall's picture
User offline. Last seen 11 years 11 weeks ago. Offline
Joined: 11/18/2008
Posts: 8
Re: Hiding the navigation menu on the left

I think you are asking about how to hide the content reference on the navigation menu list.

GO to peopletools-> structure and content -> dig thro your component.
In the select the check box that says "Hide from Menu Navigation "

regards
Shiva

Ashar's picture
User offline. Last seen 5 years 1 week ago. Offline
Joined: 03/26/2008
Posts: 227
Re: Hiding the navigation menu on the left

If you really need to Hide a content reference using PeopleCode, you may have to Customize the classes in PT_BRANDING application package. I guess the class name is BrandingBase (not sure about class name. i have done a similar change but it was sometimes back..)

sweety's picture
User offline. Last seen 10 years 14 weeks ago. Offline
Joined: 01/16/2009
Posts: 15
Re: Hiding the navigation menu on the left

Reply by Shiv4all is correct.that is the way to hide component from menu navigation or portal navigation.
Even we can disable the folder navigation.

Ashar's picture
User offline. Last seen 5 years 1 week ago. Offline
Joined: 03/26/2008
Posts: 227
Re: Hiding the navigation menu on the left

Agreed that it is the correct way but it wouldn't work when you want to hide the content reference dynamically.

sweety's picture
User offline. Last seen 10 years 14 weeks ago. Offline
Joined: 01/16/2009
Posts: 15
Re: Hiding the navigation menu on the left

ya i have gone through the PT_BRANDING API package.It is possible in Branding Base application class.

ChiDONEt's picture
User offline. Last seen 1 year 50 weeks ago. Offline
Joined: 09/24/2008
Posts: 9
Re: Hiding the navigation menu on the left

How can I do since PeopleCode ?
I want to simulate on some component the Keys Ctrl-Y, its to say toggle menu between collapse and expand. (All the left menu)