The master page is a feature that enables you to define common structure and interface markup elements for your Web site, including headers, footers, style definitions, or navigation bars. The master page can be shared by any of the pages in your Web site, called the Content Page, and removes need ...

learn more… | top users | synonyms

2
votes
1answer
1k views

Master Page background picture change

I am creating a blog in sharepoint 2007 and i need to change the blue background that is standard on the masterpage. so far I have not been successful with this. I have read posts that say each ...
2
votes
1answer
676 views

Multi-level top navigation menu on the application/_layouts pages

I created custom master page, and I created feature for top navigation menu. My custom master page works fine, but not on the application/_layouts pages; viewlsts.aspx, settings.aspx, etc.. I only see ...
2
votes
1answer
420 views

Error when trying to auto create Personal Site (My Site > My Content)

I have created a custom master page for my sites and am using feature stapling to associate the master page with the personal site once it is provisioned (when a user first clicks the My SIte > My ...
2
votes
2answers
318 views

How can I rename Page Layouts without having to manually reset content pages using those layouts?

I need to rename a bunch of Page layouts and Master Pages without having to re-set the Page Layout to each content page that is using those layouts. For example: I have two page layouts - ...
2
votes
2answers
579 views

Automatically sort quicklaunch items

We can sort quicklaunch items directly on a website or with powershell (see a great tutorial here). But is there an option to tell SharePoint:AspMenu in masterpage to automatically sort the ...
2
votes
1answer
2k views

“Attempted to read or write protected memory” exception

We ran into this error while trying to open the page /_catalogs/masterpage/Forms/AllItems.aspx. I'd been attempting to approve a page layout that I'd just updated and checked in a major version. By ...
2
votes
2answers
1k views

Site with custom master page reverts to v4.master on upgrade

I have a web application in 2007 that contains a bunch of sites that all used a custom site definition and a custom master page (deployed using a feature). All is well. I've upgraded the code for ...
2
votes
1answer
98 views

Master Page checked in and approved (as a major version) yet I'm still the only person that can see it

Topic pretty much says it all. I've checked in a new major version of the master page and approved it, but I'm still the only person who can see this page. What am I missing here? This is a ...
2
votes
1answer
398 views

Sporadically missing “click to add a new hyperlink”

We just migrated from 2007 to 2010 and changed our stylesheets to use v4. We have a list of over 1000 items with a few "Link URL" columns. Occasionally when editing the item, the link url field would ...
2
votes
2answers
344 views

*Something* is corrupting all my aspx pages

I have a feature which deploys a master page and changes the masterpage for all webs in the site collection. This works okay usually. We've had an issue two times, where all the aspx pages in the site ...
2
votes
1answer
425 views

unable to create new fields after upgrading masterpage to 2010

I am unable to create new fields in existing lists after upgrading my 2007 master page to 2010. I get an error which says Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE ...
2
votes
1answer
37 views

SharePoint 2013 Online (365): How can I insert html tags, such as divs and footers in the OOTB master page?

This is my first time working with SharePoint Online and I have been asked to create a master page with some custom links inside different divs and a footer. I saw another post here, but it did not ...
2
votes
0answers
97 views

How to add sublevel in quick launch

I'd like adding a sub level in my quick launch. I modified my master page <SharePoint:AspMenu id="V4QuickLaunchMenu" runat="server" EnableViewState="false" DataSourceId="QuickLaunchSiteMap" ...
2
votes
1answer
46 views

Can you “Change the Look” after changing the master page?

I am trying to upload a new color palette for our top branding bar, went to Change the Look under site settings, selected my style & colors. I click Try it out and this comes up. I've altered the ...
2
votes
0answers
53 views

Remove extra blank line added by SP2013 in the top of the masterpage?

I'm working on the seattle.html masterpage for Sharepoint 2013. I want to use the HTML5 Doctype, so I changed the doctype to <!DOCTYPE html>. Before the doctype, the page is full of the below ...
2
votes
0answers
238 views

Page Edit ribbon is disabled in Edit mode, sharepoint online

I have created a custom masterpage inherited from Seatle, and then created custom masterpages. When I apply my custom pagelayout to the site and click on Side--> Edit to edit the pagelayout again or ...
2
votes
0answers
399 views

How to add the Google Tag Manager to the body in a SharePoint Master page?

According to the docs, the GTM should be added "immediately after the opening tag." However, any code that is placed there in the master (well, really the htm version of the master) will be put in ...
2
votes
0answers
394 views

The referenced file is not allowed on this page O365 Sharepoint

I was trying to add script links to the seattle.master page in SharePoint 2013 from a network drive. After I opened it (Before I added anything) I had to quit for the day. Now I keep getting this ...
2
votes
1answer
266 views

Issues with SharePoint Security Trimmer control

I notice that using the security trimming control (say for RibbonBox) only hides the content, I want something like display:none, can we achieve this?: CASE 1: ...
2
votes
1answer
334 views

Selected Menu Item - Oslo MasterPage

I'm using SharePoint 2013, with the Oslo masterpage, and I've disabled the default navigations and create my own menu in the master page. The issue is that the menu doesn't show what page you are on. ...
2
votes
1answer
3k views

Sharepoint 2013 - How to add basic header to a Oslo masterpage?

I'd like to add a header to the Oslo masterpage, but I can't figure out how. Does anyone know? Thank you very much. This is what I use for the footer of the page. Update: <SharePoint:AjaxDelta ...
2
votes
1answer
97 views

SharePoint root site master page

I have a root site and other site collections in same web application port If I edit the root site master page, Will it affect other site collections in this port? Regards, Abraham
2
votes
1answer
967 views

Adding a Link “Advanced Search” next to ootb search

How do I add a link "Advanced Search" next to the OOTB search (top area where I see the title of the site, etc.) Print shot is here
2
votes
1answer
573 views

SharePoint 2013 Ribbon Change Functioning of the Scrollbar

I have noticed on SharePoint 2013 that the scroll with the ribbon activated differently than when the ribbon is not activated. When the ribbon is activated (clicking the Page Tab), the scroll for ...
1
vote
2answers
2k views

How to remove the Hover /or chage the hover color, when moving the mouse over the current username

I have made some modification to my team site CSS, mainly I make the username text to be white and the background color to be blue. This will work well till the user move the mouse over the username ...
1
vote
4answers
2k views

How to change the Master Page URL?

How to change the sub-site master page URL while creating it (sub-site) ? By default, it uses "default.master" is on its "master page gallery" list, want to change the master page url in such a way ...
1
vote
2answers
220 views

Registering all templates in folder /_controltempaltes/custom

I have a question regarding the directives in the MasterPage. So if I deploy a custom template to ControlTemplates in SharePoint folder, to use it I will need to write a directive which imports that ...
1
vote
3answers
915 views

How do I list all masterpages using client object model

I want to get all masterpages in client object model. For classic lists and libraries, I use context.Web.Lists.GetByTitle(listname) How do I do that to get the masterpage list ...
1
vote
2answers
697 views

Complete redesign of a SharePoint 2010

I'm working on a project where i need to do a complete redesign on SharePoint 2010, like changing colors, making it have a fixed size, align it to the center of the page, align the 'site action' ...
1
vote
2answers
301 views

Can't edit Master Page without breaking the site

I'm a little confused as to what is happening with my Master Page. If I check out the .master and reupload it without making ANY changes to the file, I get an error saying one of the declared ...
1
vote
3answers
1k views

How to create an VS application page that does not inherit the master page?

We are creating an application page and do not want it to inherit the masterpage. Is this possible?
1
vote
3answers
732 views

What should be scope of masterpage feature?

Here is my code on feature activated:- SPWeb topLevelSite = properties.Feature.Parent as SPWeb; if (topLevelSite != null) { // Calculate relative path to site from Web ...
1
vote
2answers
537 views

tool for finding out which Custom master page being used

I am trying to find a tool, that tells me which Custom master page is being used by a web/site, I tried google it but couldn't find anything relative. Cheers
1
vote
3answers
6k views

Master Page file cannot be loaded when trying to edit aspx on a subsite

A while ago, we (myself and our web developer) customized our master page. We made a copy of v4.master called v4custom.master and edited it. This was at the site collection level. Just recently, a ...
1
vote
3answers
2k views

Invalid Url when programmatically setting custom master page

Has anyone had the error Invalid URL when setting the masterpage programmatically? Using this code in a feature receiver (the feature provisions the masterpage to the gallery, that works fine) ...
1
vote
1answer
697 views

How to configure two search boxes - one for people and one for content?

I would like to have two search boxes on my master page, one that would search for content and the other one that would search for people. I see the code in the master page that searches for content: ...
1
vote
2answers
551 views

Edit oslo.css File

I created new custom MasterPage. I used bootstrap library for MasterPage design. But oslo.css breaks my design. How can I find oslo.css in SharePoint Designer and How can I edit the CSS file?
1
vote
2answers
767 views

How to assign masterpage via CSOM?

I have the following code to assign masterpage via CSOM but its not working, after I go to the site, it says File not Found, I guess URL is wrongly constructed. Please note that I am not trying to ...
1
vote
2answers
411 views

How do I add custom CSS and JavaScript to the System Master Page?

I'm using Seattle for our System Master Page. This is working fine, except now I need to insert some custom JavaScript and CSS into it. How do I add custom JavaScript and CSS to the System Master ...
1
vote
1answer
312 views

Site migrated from SP2010 to SP2013 refer to \Web Server Extensions\14\TEMPLATE\LAYOUTS\

I have migrated some site collections from a SP2010 farm to SP2013 farm. I have fully upgraded a site to SP2013 mode. In the Master file I have code like below: <SharePoint:CssRegistration ...
1
vote
1answer
403 views

Remove top link from Sharepoint online

I am trying to remove the top links "Outlook", "OneDrive", "Sites" etc. from a team site in Sharepoint online. I have gone through all I can find online and from a former similar question, but I ...
1
vote
1answer
5k views

Edit page SharePoint designer 2013

I need to edit a page in SharePoint Designer 2013. When I open the page in edit mode, I can see the web parts but I can not edit them. How can I do it? (I need to add a CSS link in the Content ...
1
vote
3answers
307 views

how to register a custom css with v4.master without editing the actual file

I would like to add a custom css with v4.master however do not want to edit the actual master page itself. the idea is to load the custom css on the wiki page. do we have any way of doing it?
1
vote
3answers
541 views

masterpage javascript not working while anonymous user visits the site

Explanation. I have applied anonymous access to entire website. My Javascript working fine while users login. But not woking while anonymous users visits the site. I need to execute masterpage ...
1
vote
2answers
1k views

Hard Coded Navigation in Master Page - Active link not changing

Prior to my arrival it was decided that all navigation would be hard coded into the Master Page. I wish I could find a solid reason why, but for the time being it escapes me. Due to time constraints, ...
1
vote
6answers
6k views

Add a Web Part to a Master Page for only one page in SP2010?

I would like to add a Web Part to part of a Master Page, but only in the case of the home page of the site. Otherwise it is not needed. How can I handle this? (see attached image) Do I have to ...
1
vote
1answer
3k views

Customizing SmallSearchInputBox default text

I am trying to customize the text displayed in the search box of my SharePoint site. The default is "Search this site...". I found a number of articles which explain how to do it (by overriding the ...
1
vote
1answer
1k views

SharePoint 2010 Foundation css url in Master Page

I have an image that is located at the root Style Library site. I want to put that image in the MasterPage. Using SharePoint Designer, I get this reference background-image:url('../../../../Style ...
1
vote
4answers
2k views

Is the masterpage in 14 hive or backend db

Our Masterpage got corrupted and there is no local backup. Where is it located? If is in file share like 14 hive then I can get a copy from system admin from last night backup? Or if is in the sql ...
1
vote
4answers
1k views

How to embed a CQWP into a master page or DelegateControl

I'm looking for a way to embed a pre-configured Content Query Web Part into a master page. In short, I have a SharePoint:DelegateControl on the master page and I want to plug the web part into it by ...