SharePoint 2010 Navigation Menu Missing - sharepoint

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.

Related

How can I get my sharepoint 365 master page and page layout to appear across my intranet site?

I'm setting up a SharePoint 365 intranet site for my company and we want to use our own designs. However, my own Master Page and Page Layout are not being seen either in new or existing pages.
In Design Manager I've uploaded my own HTML for a Master Page and created a new Page Layout. Both look fine in preview and report no errors.
I've published both the Master Page and Page Layout. In Publish and Apply Design, I've selected my newly published master page as both Site Master Page and System Master Page.
However, although my new master page is appearing on system pages, there is no sign of it on the intranet site pages.
Perhaps I am missing a step somewhere? I've been studying the Microsoft docs under Building sites for SharePoint, including Apply a master page to a site in SharePoint but cannot see anything amiss.
As far as I know the master page and page layout will work with the publishing feature and Application pages. So when you visit the pages under the Site Pages they do not get the master page and page layout.
Pages under the Site Pages library are wiki pages and hence do not get the Master page and page layout applied.
It seems it is not currently possible to apply a custom master page to 'modern' pages.
The most recent documentation I've found is:
https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/modern-experience-customizations-customize-pages
These customizations are currently not supported for "modern" pages:
... Custom master pages (more extensive branding will be supported later using alternative options)...

Editing Sharepoint Site Homepage in Sharepoint Developer

I have just edited my publishing site home page in SharePoint Designer. The page originally contains some web parts.
I am a newbie as far as SharePoint branding is concerned. I did the editing in Advance Mode when I realized that I couldn't edit areas outside my Web Part Zones and since I need to do that, I tried it using the advance mode. I edited the page adding some inline CSS styling and even added some additional Web Part Zones. Everything looked good when I previewed so I saved and thought all was okay. But to my surprise, Only my account (System Account) can see the changes I made. Every other user on the domain are still see the original page without any of my recent changes.
I have done the Check-In and Publish circle over and over again but no luck.
Does any one have any idea as to what I might have done wrong here and what I can do to fix the issue.
Follow below steps for publishing:
Select “Publish a major version,”. When
prompted to approve the master page, click Yes. This automatically
invokes a SharePoint master page approval page, where you
will find your new master page listed at the top of the page.
Click the drop-down menu beside the master page. Select
Approve and select the Approved radio button. Click OK. Your
master page is now saved and approved in SharePoint.
Navigate to your top-level site collection, and click Site Actions -> Site Settings
Under Look and Feel, select the Master Pages link. For both the
Site and System Master Page settings, select your new master
page from the drop-down menu.
Once you click OK, your changes should be available to all users

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"]

Customise Sharepoint QuickLaunch menu per subsite page

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

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