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

Export site as a template and master page link?

We have a site collection that have several sub webs. In the root site, we created some custom master pages. We linked the subwebs masterpage url (SPWeb.MasterPageUrl) to the same, centralized ...
2
votes
2answers
1k views

Delete custom master page error on feature deactivation

I have a feature that deploys custom master pages to all sites in a site collection on activation, and want to delete all traces of the custom master pages on deactivation. On deactivation, after ...
2
votes
1answer
40 views

Is there a way to gracefully fail when a custom tag is missing?

I need to do some specific CSS changes to the publishing section of my SharePoint site when the logged in user is a specific account. To do this, I have created a custom control ...
2
votes
2answers
825 views

2010 UI Version 3 site & application master page

I have switched a site back to use UI version 3, so this basically works as a 2007 site would. I would expect that when accessing application pages this would use the application.master in the ...
2
votes
2answers
270 views

Verifying custom master exists before applying to a site

I have a branding solution consisting of one feature to deploy a custom master to the site collection. A web scoped feature exists in a separate solution that when activated sets the custom master as ...
2
votes
3answers
457 views

Modify RichHtmlField in SP2010 Master Page?

I'd like to modify the RichHtmlField to disable the color controls in SharePoint 2010. I tried adding this to my master page: <PublishingWebControls:RichHtmlField FieldName="PublishingPageContent" ...
2
votes
1answer
57 views

change not reflecting in .master from html in master page sharepoint designer 2013

i need to add a user control in master page in 2013 desinger. I have checked out file and added this below line: <!--SPM:<%@Register TagPrefix="LogOut" TagName="LogOutUserControl" ...
2
votes
2answers
1k views

Ajax Control Toolkit in SP2013 [closed]

Has anyone ever used the Ajax Control Toolkit in SP2013? It seems that I don't get it working. I've added the AjaxControlToolkit.dll to my package (with safecontrols) And in my masterpage I reference ...
2
votes
2answers
1k views

How to apply custom site layout on my Team Site?

Please take a look at the following screenshot of my team site. I want to apply custom site layout on this team site. I opened the site in SharePoint Designer and made of copy of seattle.master and ...
2
votes
1answer
163 views

Changing the username color to be white

I have a SharePoint web application which contains both a team site & a community site. I have changed the upper left suite bar colour to be blue, but this will make the username not very ...
2
votes
1answer
418 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
2k 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
150 views

Creating pages dynamically through code?

First thing is first, I'm doing this in Sharepoint 2013. I'm not exactly sure what the best approach is to be, so I'm explaining my problem and hopefully people can throw around some terms or ideas ...
2
votes
1answer
131 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
156 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
737 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
931 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
585 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
360 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
220 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
487 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
961 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
96 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
373 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
342 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
405 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
93 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
95 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
784 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
1
vote
2answers
614 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
1k 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
197 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
586 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
5answers
12k views

How to change the master page associated to a custom page layout?

I'm creating a custom page layout starting from the Article Page layout, which is associated by default to the master page v4.master. I want now associate this web page with a custom master page of my ...
1
vote
2answers
595 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
3answers
271 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
276 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
3answers
4k 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
2answers
6k views

How do I add the top link navigaton bar to the Enterprise Search Center?

The Enterprise Search Center appears to use the minimal master page, and has no top link navigation. This seems a bit silly and is hard to use if you use the Search Center as a subsite in a larger ...
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
509 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
1answer
89 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
2answers
153 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
85 views

How can you set a site-level master page on the Web?

I have a SharePoint 2010 site collection that doesn't have publishing features enabled (on purpose), and was wondering if it was possible to set the site's default master page... without using ...
1
vote
3answers
87 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
1answer
752 views

SharePoint MasterPage :: Oslo and Seattle

I have tried to Google the results between these master pages :: Oslo and Seattle available in SharePoint, but to no results. Can somebody help me in understanding the difference between the two? ...
1
vote
3answers
355 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
1answer
2k 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 ...