Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a navigation defined in Site actions -> Look and Feel -> Navigations. I have a home page (Root page) - Home.aspx. Let's say I have created two more pages like A.aspx and B.aspx.

Now I would like to have my navigation on the home page, however I do not want my navigations to appear in the custom pages A & B. How can I do it?

share|improve this question
    
Creating a Page Layout in SharePoint 2010link link –  Niranjan Kala Nov 18 '11 at 10:37
    
I would for a special page layout that takes care of the differences as Ziga says. –  Christian Stahl Nov 18 '11 at 11:22
    
Thank you Niranjan, for your link !! Will make use of it. Hi Chris thanks for your thoughts, will do it !! –  Jithu Nov 21 '11 at 9:50
add comment

2 Answers 2

up vote 1 down vote accepted

Create a new pagelayout or edit an existing one and in them add some css or javascript in the AdditionalHeadPlaceHolder which should hide the navigation. This is a better approach than adding css or javascript in the masterpage validating parameters to then decide wether or not elements should be hidden.

http://geekswithblogs.net/Lance/archive/2010/02/17/changing-page-layout-with-sharepoint-designer-2010.aspx

share|improve this answer
    
Thank you for your help, How can I create a new page layout? –  Jithu Nov 18 '11 at 9:12
    
@Jithu Look at the link I added to my answer –  Daniel Ziga Nov 18 '11 at 9:30
    
That was just great, Thank you for sharing it, now one more related question - How can I select this created layout for only one page. All other pages should use the default layouts. –  Jithu Nov 21 '11 at 9:49
    
@Jithu That really depends on how you create your pages. In order to create a page with a specific pagelayout (Through standard SP UI) you'll have to navigate to the Pages list on the site and in there select Add new page and here you select what pagelayout the new page should use. Hope this helped –  Daniel Ziga Nov 21 '11 at 9:54
    
Thank you, Ziga for your help !! –  Jithu Nov 21 '11 at 9:55
add comment

I would suggest you to use the css and javascript to hide the navigation from particular page.You may have to include the same in the page a&b

Thanks Dhanya

share|improve this answer
    
Thank you dhanya, Let me see how can I do it !! –  Jithu Nov 18 '11 at 9:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.