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

32
votes
6answers
18k views

How to update custom master page and page layout, which is already deployed

I have a feature which deploying custom page layout. It's done by this code: <Module Name="MasterPageModule" Url ="_catalogs/masterpage"> <File Path="MasterPageModule\defaultTemplate.aspx" ...
9
votes
8answers
4k views

How can we use a different masterpage for annoymous and authenticated users?

Is there a way to load a different master page if I can identify the user to be annonymous?
9
votes
4answers
3k views

SharePoint 2010 branding - I see it (as site admin) but rest users don't

Our web developer helped me customize our SharePoint 2010 web application (few images and colors). Very basic. He made changes to the master page and I selected that master page and applied it to ...
7
votes
2answers
7k views

Adding jQuery to master page

I am trying to customize a Sharepoint 2013 team site. I created a copy of seattle.master and set it as default master page via context menu. I added my custom CSS within head tages like so: ...
7
votes
2answers
876 views

CSS not linked on All Site Content

I created a master page and custom CSS file to brand the root site of on my SP10 server. I then applied this master page to all subsites. The style is applied properly on all sites except when I ...
7
votes
4answers
6k views

Sharepoint 2010 Modal Dialog Box is cropped

I am working on SharePoint 2010 project with custom master page. I am having this problem where contents on my modal dialog box is cut off (see below). I have spent hours googling and using firebug ...
7
votes
2answers
143 views

Pulling hair out: How to customize MOSS2007 site to be front facing

I have a client that I've been working for that has a front facing MOSS2007 site, and wants another one. I originally did the work by using SD2007, creating a master page, and then creating a bunch of ...
7
votes
2answers
2k views

IM Presence Icons not appearing in SOME master pages - IE9

I have updated my master pages to use some HTML5 and CSS3 elements. I therefore changed the to use HTML5, and altered the X-UA-COMPATIBLE to work in "IE=9;IE=Edge;" mode (instead of IE8). I did not ...
7
votes
5answers
3k views

Using Minimal.Master in a custom aspx page

I have the following code line that adds the default.master to a custom aspx page; <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ConvertStatus.aspx.cs" ...
6
votes
2answers
396 views

Is there a way to hardcode the masterpage to change/remove the top left 'Sharepoint' text?

We can do it in few lines of powershell: $webApp = Get-SPWebApplication http://tozit-sp:2015 $webApp.SuiteBarBrandingElementHtml = "Awesome Text Goes Here" $webApp.Update() I want to know if there ...
6
votes
7answers
5k views

What is the proper way to add jQuery to a MasterPage?

Currently I am using this method in the header: <script src="/_layouts/MNCAssets/scripts/jquery-1.5.1.min.js"></script> But for some reason, my webparts that use jQuery don't appear to ...
6
votes
3answers
951 views

changing master page of My Site content and Host

I have succeeded to change master page for my site (content) by implementing feature stapling, and now I can see my top navigation in my site as well. My question is, if after a while I made changes ...
6
votes
4answers
6k views

Can I use the same master page between Site Collections?

I've created a root site collection from the Publishing site collection template and am using a custom master page to style the site. If I create another site collection how am I able to use the same ...
6
votes
1answer
9k views

How do I get a subsite to inherit the main masterpage?

I have a masterpage (copy of v4.master) and I added a link to a custom css. when I create a new site it does not pick up the correct master page. How do I fix this? thanks
6
votes
2answers
11k views

How do I apply master page changes to all subsites in SharePoint 2013?

I realize similar questions have been asked, but master pages have changed somwehwat in SharePoint Server 2013, and this is actually several questions in one. I've read lots and lots of articles, and ...
6
votes
2answers
3k views

Breadcrumb and flyout on custom master page

I have a master page that I wrote from scratch and applied through the Design Manager to one of my site collections. I would like to add the 2010-style breadcrumb and/or navigate-up flyout button in ...
5
votes
1answer
193 views

How do I localize page layouts and masterpages in a sandboxed solution?

In farm solutions you can use resource files inside aspx-pages by deploying resx-files to the hive. MSDN have some documentation but there's no example for page layouts, just managed code which is ...
5
votes
1answer
112 views

What is __spText1 and __spText2 used for?

Hello I am new to SharePoint and I wanted to make a custom master page. I've stumbled on __spText1 and __spText2 and I was wondering if I can remove them? If not, what do they do / represent? Thank ...
4
votes
1answer
139 views

Add .preview file using feature

I have this feature with a nice little master page inserted through a feature, and it works fine. Now I'm looking into theming, created a composable look. To choose this look in the design manager ...
4
votes
2answers
1k views

master page across multiple site collections

I've got a branding feature, deployed in multiple site collections, including the master and system master pages. The goal is that if a power user does some changes to one of these master pages, ...
4
votes
2answers
1k views

Difference between Publishing Master Page and Standard Master Page

In SharePoint Designer, you can create a new Master Page or a new Publishing Master Page from Content Type. So what is the difference between a Master Page with a Content type of "Publishing Master ...
4
votes
1answer
415 views

Can I put my master page in the 14 hive?

I have a custom master page called "arx.master" that I use all over my portal. I am wondering if I could put it in c:\program files\common files\microsoft shared\web server ...
4
votes
3answers
522 views

Apply master page based on custom site template

Is it possible to programmatically set the master page for a site based on the custom template used to create said site? I created some custom templates with custom page layout and webparts, they are ...
4
votes
1answer
284 views

Web parts not working when applying new master page

I started a small Sharepoint site as a rush job. It's a bunch of fairly simple web part pages. Now that we're expanding it, I need to add a different master page. I was using our client's master ...
4
votes
2answers
726 views

Sandbox Solution: How to use resource files in master page

When i create a sandbox solution, and i want to use resources in my code, i use sattelite assemblies. But in my masterpage it seems not to work, i get following error: Parser Error Message: The ...
4
votes
1answer
556 views

Search box disappears on search result page when using a customer masterpage

I have created a custom master page. I display the search box on the page using the following code: <asp:ContentPlaceHolder ID="PlaceHolderSearchArea" runat="server"> ...
4
votes
1answer
232 views

Change root node of TopNavigationMenu dynamically?

I have a main site with five subsites and they are all using the same masterpage. The main site is a national site and the subsites are local copies (same lists, libraries, pages, subsites etc). One ...
4
votes
1answer
175 views

Define a new custom DelegateControl tag and ControlId?

I would like to add a new custom-defined DelegateControl to the bottom of my MasterPage so that I can install Google Remarketing markup to the bottom of all my pages with a Feature. I already have the ...
4
votes
0answers
112 views

Can I set master page based on whether user is anonymous or not? [duplicate]

Possible Duplicate: A seperate masterpage for annoymous users? Stemming from a previous suggestion on how I can display my sharepoint site completely differently to anoymous users, I am ...
3
votes
6answers
11k views

How to use relative URL for image in Master Page?

I am using a logo in my Master Page which will be displayed on all pages. How do I use its relative URL? Currently it is written as: <img src="/sites/Style Library/Images/logo.jpg"> But it is ...
3
votes
3answers
987 views

Errors after removing core.js

I am building a master page for a public facing website, and I have removed core.js for better performance. The issue is that I am now getting a bunch of errors because functions are absent. This ...
3
votes
3answers
1k views

Page layouts vs. Master pages

When do you create a custom page layout vs. a custom master page for a site? Is it good practice to create custom page layouts only for limited branding of SharePoint 2010? I'm thinking the page ...
3
votes
1answer
592 views

SharePoint 2013 masterpage + bootstrap compatibility with Internet Explorer 8

I’m currently developing a SharePoint portal that will mostly be used by clients with Intern Explorer 8 with responsive design requirement. As a result compatibility with IE 8 is pretty important. I ...
3
votes
2answers
672 views

Site Collection Pop Quiz: _layouts vs Style Library

First, let's say I have 2 site collections within a single web app at port 80: Main Site Collection: / Nested Site Collection: /sites/special/ So, let's say I have a module in a ...
3
votes
1answer
304 views

Change masterpage from Seattle to Oslo using CSOM, Sharepoint online

Using CSOM and c#, I would like to change the master-page from Seattle to Oslo. Can anybody help me?
3
votes
1answer
457 views

Placing the search box in the header

I am working with a company that has supplied the branding I am using to create my master page. I have successfully imported and converted this with most of my content appearing in the <div ...
3
votes
3answers
3k views

Activating Publishing Feature breaks because of custom Master?

This issue is related to this post. I get an error message when the publishing feature is activated on sites of certain types. This means that I also get an error message when I create certain sites ...
3
votes
5answers
6k views

How to find the master page a site is using?

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise, and I am using publishing portal template. I have a root web site and some child sub-web site. I am using ...
3
votes
3answers
7k views

SP2013: Adding a custom usercontrol to masterpage using Design Manager

I created a custom masterpage using the SP2013 Design Manager. I also created a SharePoint solution in Visual studio 2012 with a custom usercontrol (ascx) and custom webparts. The masterpage works ...
3
votes
2answers
801 views

ScriptManager ServiceReference in SharePoint

I have always used jQuery.ajax to retrieve data from listdata.svc or lists.asmx in SharePoint and from some custom web services. Now I will try Microsoft Ajax Library and especially ServiceReference ...
3
votes
3answers
3k views

How can I enable JavaScript on every page at a site level?

I'm using SharePoint 2007 and I would like to add the JS code for Google Analytics into the master page. I think a Delegate Control is the way to go, as we already have a Delegate Control in the Head ...
3
votes
2answers
2k views

remove *.debug.js from master page

When I view my SharePoint site I see a lot of .debug.js files being added by SharePoint. Is there a way to stop this happening. cui.debug.js core.debug.js sp.debug.js sp.ribbon.debug.js ...
3
votes
4answers
495 views

For multiple Web Applications, can I have different Master Pages?

My initial web application allows me to see and change the master page under site actions\site settings\Look and Feel\master page. I created a second web application and would like to use a different ...
3
votes
3answers
137 views

Is there a way to display a warning message inside my enterprise wiki page layout , when the page status is Rejected

I am working on a publishing site collection using the Enterprise wiki template. Currently I got this behavior regarding the versioning setting. For the library I specify that the library content ...
3
votes
2answers
269 views

Customized Master Page and Lightbox Contents

I downloaded a minimal master page template from here: http://startermasterpages.codeplex.com/ and created a new master page based on it. Then I set it as default master page in SPD2010. Everything ...
3
votes
2answers
139 views

Using jQuery in SharePoint 2013

I'm trying to implement a solution in SP 2013 where the global navigation docks to the top of the browser as you scroll down. Like on this site. The dev at this site provided the jquery he used to ...
3
votes
4answers
2k views

SharePoint 2013 Fixed-Width Master or Fixed-Width Page-Layout or both?

I'm planning a Site and I know the default landing page needs to be a fixed width. I've also seen the awful things fixed-width does to Lists and Libraries (A List with too many columns looks ...
3
votes
2answers
1k views

Add left and right margins or padding to custom v4.master (s4-bodyContainer)?

How do I add margins/padding to the left and right of the master page while still retaining the scroll-bar on the right? I don't want a fixed-width page - just scaling width, with left and right ...
3
votes
2answers
3k views

Sharepoint Master Page Powershell

We have over 80 Site Collections in our Web Application is there a way through power shell that i can set the same master page for all the site collections.
3
votes
5answers
3k views

Webparts in the left side bar

Is it possible to get webparts in the left side bar? I have a custom .master page and the business wants more items on the left. From what I can see with web parts you can only put them in the ...