Link to home
Start Free TrialLog in
Avatar of dgmoore1
dgmoore1Flag for United States of America

asked on

Sharepoint 2010 - master page mods not taking effect

I made a copy of my v4.master, changed the PermissionsString for idNavLinkViewAll to hide the "All Site Content" link, and changed the width of the Quick Links list from the default 150px to 250px. I then saved the copy, checked it back in, published it, approved the changes, and set it as the site default master.

However, when I open the site's home page none of the changes I made in the master are in effect - nothing has changed. All users can still see "All Site Content" and the width of the quick link list is still 150px.

Any suggestions would be appreciated.
Thanks
Dave
Avatar of jessc7
jessc7
Flag of United States of America image

If the custom master page has an error in it, SharePoint will use the default custom master page to render the page rather than the custom master page.

Have you verified (by looking at the source, etc.) that your custom master page is being used? Maybe add an HTML comment you can search for in the source.
Avatar of dgmoore1

ASKER

I have verified under Site Settings | Look and Feel |Master Page that the correct master is being used. When I reset it back to the original v4.master there is no change in the appearance or behavior of the pages, as if the original master and my copy are identical. But examination of both shows that the changes are present in the custom version and not in the original. I'm stumped so far. I'm pretty sure there are no errors in the custom master - I only substituted "ManageWeb" in the idNavLinkViewAll PermissionsString, and changed "150px" to "250px" in the style for the Quick Link list width.
Can you please add an HTML comment to your new master page, republish and approve? Then visit a page using the new master page, and view the HTML source. If you do not see the HTML comment in the source, your new master page is not being used. Let's start here, and see if your new master page is even being rendered.
OK - I'll try that. Thanks
OK - I added an html comment to the master and verified in the source of one of the pages that the master in question is the one being used. I copied the original v4.master and made just two changes: I changed the PermissionsString for idNavLink to "ManageWeb" and I change the width of the quick launch from 155px to 255px.

Neither of these changes are taking effect - All Site Content is still visible to all, and the width of the Quick Launch remains at 155px
OK great. Can you post the master page to EE?
OK - here's the file in question
v4-copy-1-.master
OK - I am still looking at this. I did a visual diff between the OOTB v-4 master page, and the file you posted. See the attached report. Were you expecting to see this much difference?

I was able to quickly apply the master page and get it to render. I will look at it more.
differences.html
ASKER CERTIFIED SOLUTION
Avatar of jessc7
jessc7
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This is perfect. I'm surprised at how many differences there are between your v4.master and mine. My v4.master is as provisioned to all site collections by our farm administrator - evidently it's been customized quite a bit. This is a corporate intranet site, and all site collections use similar branding and basic features.

Thanks very much - you deserve all of the points, plus a couple of gold stars. This helps me a lot.
Glad I could help out!