Customise Sharepoint QuickLaunch menu per subsite page - sharepoint

Is there a way I can have a custom quick launch menu on a particular page on a MOSS subsite.
I have tried detaching the page layout on on the page this works fine and copys the master page layout code into the aspx file. But it does not copy the code for the Quick launch menu.
I know I can change the Quick Launch items per site but can I change this per page on a site?
Thanks
Nav

Yes. For this you need to create a new master page with different Quick launch. And go to your page and change its master page.

I did this by using JQuery to hide the Quick launch panel. Rather than creating a new master page

Related

SharePoint 2010 Navigation Menu Missing

Apologies in advance, this may be long winded. I'm working on a SharePoint 2010 site and I'm experience a strange problem. I'm using the v5 HTML5 master page by Kyle Schaeffer (http://kyleschaeffer.com/sharepoint/v5-responsive-html5-master-page/). The site I'm working on has two master pages, one for the home page and one for the rest of the site. The only difference between the two is the home page master has a banner control that displays a rotating banner while the rest of the site which uses the second master page doesn't. The v5 master has a navigation menu on the left side of the master page. For the home page, this menu is hidden using CSS (the div that contains the menu has its display set to none) while the rest of the site has the menu active.
The top level site and sub sites have lists with pages in them and here is where my problem begins. If I create a page in the top level site, it will not show the the navigation menu on the left due to it being hidden by the top level master page. To counter this, I force the page layout of the page to use the secondary master page that the rest of the site uses (the secondary master page shows the left navigation menu). Despite using the secondary master page, it still doesn't show the navigation on the left side. Additionally, if I create a page from one of the sub sites that is using the secondary master page, it will show the left navigation menu just fine. Now am I missing something here or is the logic I'm attempting to use flawed?
Help is much appreciated.
The pages always inherit the master from the parent site, if you want to have different master pages across your site you will have to create sites instead of pages, this way you will be able to change the master page on site settings under look and feel.

Do not show the web part of the SPList in SharePoint 2007

I have a programmatically created SPList with custom content type and it is added to the quick launch. Every time I click on the link on the quick launch, the page appears with a web part that shows the content of the list.
I do not want that... I wanted the web part gone so when I visit the page, there is no web part on it at all. Is there any ways of doing this programmatically? I do not want to have to manually delete the web part.
Thanks.
You can specify false for "on quick launch" in the list definition, or from code, if you don't want to have the list view page link in quick launch. Why not just create a web-part page without the list view web-part on it, and add a link to that page to quick launch? Do you need to change the allitems page?

Hide newly created page from top navigation menu

I need to that after page creation newly created page won't appear in top navigation. Can someone suggest me any ways how to do this?
Thanks in advance.
UPD: I need whatever created page won't appear in top navigation by default, because my users don't have access to settings.
Go to site settings/modify navigation and uncheck show pages.

How to get Site Icon to properly update in Sharepoint 2010 Web Part Page

I'm working on creating a reusable and extensible web application in SharePoint 2010. I've created a master page to apply across all pages in the site. However, whenever I create a web part page and navigate to it, the site icon does not display. Instead of my custom site icon being displayed it shows the default SharePoint icon. I can get around this by placing the icon directly into the master page, but that would require me to create a new master page if I ever wanted to extend this web application.
Does anyone know why this is happening? My initial thought was that the web part page had somehow been customized to not use the default master page, but that does not seem to be the case: if I update the master page it is reflected in the web part page.
Googling around and checking this site yielded little answers. I only found one post out there that reported the same issue I am observing but there was no solution.
If it helps, I did notice one phenomena when navigating to this page. Before the page completely loads, the correct site icon appears for a split second before being replaced with the default site icon. Hope that helps.
I ran into the same issue this morning and didn't want to create a custom master page just for this, but luckily it was quickly resolved by following admlcrunch's suggestion (on SharePoint 2010):
Go to the desire page
Click on the "Page" tab at the top
Click on the "Title Bar Properties" at the right (in the ribbon)
In the Image Link section on the right, paste in the image URL
Click OK
The only bad thing about this is, you have to update every Web Part page that you want custom icon image to display.
I was just having the same issue. Web Part Pages have their own icon that you can set.
To set the icon click Page > Title Bar Properties. This will open the Web Part Page Title Bar dialog. In this dialog there is an area to set the Image Link. You can set the icon here. I just copied the URL to the site icon.
Open the page in designer and remove the custom titlebar place holder:
[WebPartPages:TitleBarWebPart]
from the :
[asp:Content ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea"]

Page Layout does not appear in the page layouts list

I have a feature that deploys a few site columns, a content type (inheriting from Page Publishing Content Type) and a page layout based on my content type.
Everything is fine on two tests, performed on different servers, but on the third server, although the feature is being activated correctly and I can see the site columns, content types and the page layout in the galleries, I cannot create a new page based on my page layout because the page layout does not appear in the list of available page layouts.
On all tests I have used the administrator account.
Does anybody have any thoughts on possible reasons for this?
Thanks.
Did you have a look at the "Page layouts and site templates" page under Site Settings? On this page you can enable an option that limits the available page layouts to a specified list of page layouts.
I have worked on a project where we needed to limit the page layouts available on a custom site definition. We implemented this in a feature, that enabled the "limited page layouts" option and populated the list of available page layouts upon activation.
If this is the issue you are having you could simply turn off this option in the web interface or add the new page layouts manually, but you could also consider implementing a feature receiver that automatically adds your custom page layouts to the list of available layouts.
Thank you all for your answers.
What actually happened is that the page layout was, for some reason, deployed as a Master page and not as a Page Layout. The admin has manually changed this and now it works.
This is just an educated guess but check to see if the Page Layout is waiting to be checked-in or approved.
In my case the path for the layout was wrong so the layout itself ended up in a different location, when I corrected that i was able to see the results.
I had added files manually and it did not appear.
When I edited properties of that layout page from UI and saved it, it appeared.

Resources