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
947 views

How do you generate snippets for custom web parts to include on HTML master pages?

In Sharepoint 2013, you can edit HTML master pages using the Design Manager and the Snippet Gallery. How do you edit the list of web parts to include custom web parts so that it will generate the ...
2
votes
2answers
6k views

How to resolve “System.TypeLoadException: Could not load type” error?

I'm trying to write a custom navigation provider for SharePoint 2010. Later it should be able to distinguish between two different web templates so that sites with one template are only shown in the ...
2
votes
1answer
186 views

MOSS 2007: Multi-layer flyout menus on the global navigation

I've reset the MaximumDynamicDisplayLevels to 30. My goal is to create a global navigation menu that leads to other SharePoint sites/external links. Each tab on the navigation is the top category with ...
2
votes
2answers
2k views

How to change the master page

How can I change the master page of only one of the many sites in my 2007 sharepoint site. I do not have production site access so i cannot use designer. Pavan.
2
votes
3answers
894 views

Apply custom master for new site collection and sites under

This works for existing site collection and any new sites under it and their subsites BUT when I create a new site collection, well i can't even create a new site collection now as it gives me file ...
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
687 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
425 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
331 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
594 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
402 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
49 views

Best Practice for adding jQuery reference in Master Page [duplicate]

I have a site collection on the root directory http://pc51:1001 and a site collection under the sites directory http://pc51:1001/sites/First . I am trying to add jQuery file reference in Master ...
2
votes
0answers
45 views

Apply custom master page to Allitems.aspx and NewForm.aspx in SharePoint hosted app

I want to apply my custom master page to a list in a SharePoint hosted add-in. Is it possible to do this? If so, how?
2
votes
1answer
87 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
109 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
52 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
69 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
314 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
530 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
444 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
318 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
370 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
0answers
1k views

Display user information in SharePoint 2010

I followed the instruction here to display the user First and Last name on my page. I started the User Profile Application services to solve the issue "Cannot get user profile". It works fine without ...
2
votes
1answer
99 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
999 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
650 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
3k 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
1k 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
709 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
363 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
1answer
7k 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
2k 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
788 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
555 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
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
3answers
7k 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
740 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
863 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
1k 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
621 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
328 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 ...