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

25
votes
5answers
10k 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
2k 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?
7
votes
2answers
139 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 ...
6
votes
2answers
694 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 ...
5
votes
3answers
2k 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 ...
5
votes
2answers
1k 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 ...
5
votes
5answers
2k 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" ...
5
votes
1answer
50 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
4answers
2k 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 ...
4
votes
4answers
3k 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 ...
4
votes
1answer
83 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
3answers
3k 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 ...
4
votes
2answers
622 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
1answer
177 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
52 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
170 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
381 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
188 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
112 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
1answer
175 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
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
3answers
696 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
2answers
308 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
3answers
2k 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
2answers
560 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
2k 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
969 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
2answers
231 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
1answer
73 views

create custom masterpages - is it better to copy v4.master and then modify

I would like to have 2 materpages one for the publishing site and one for none publishing site. Any ideas the best way to get started? Thanks in Advance
3
votes
3answers
845 views

Hide “View all site content” on a blog website

The desire is to remove the "All site content" link from the quick launch menu on all sites. I have removed it from our master page. However when I now go to a site that has been created using a ...
3
votes
5answers
2k 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 ...
3
votes
2answers
576 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 ...
3
votes
2answers
406 views

Returning Full URL

I am writing code in my master page that examines the page's URL as shown in the browser I have a web application at URL: http://teams.sharepoint.org/sitecollections and many site collections ...
3
votes
1answer
1k views

How to change global navigation SP Foundation

I would like to ask, how I can to change default page or change global navigation in SP Foundation. I have first web collection "Home" then I have second web colletion "MY PAGE" and my second web ...
3
votes
2answers
499 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 ...
2
votes
2answers
2k views

Where is the masterpage in 14 hive in sp 2010

I need to make a copy of the master page in sp 2010. where is it located? (I dont have SP Designer so that's not an option).
2
votes
3answers
553 views

Can a web part prevent master page jQuery from executing properly?

I'm including jQuery and a custom .js file into the master page of my SharePoint 2010 site. In the $(document).ready() function, I'm setting a live event handler on an element in the header of the ...
2
votes
3answers
1k views

Coding against SPUrl

How can I work with SPUrl in my code-behind file for master pages and page layouts? I don't see any access to this in the SharePoint namespaces.
2
votes
3answers
582 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 ...
2
votes
3answers
2k views

How can i edit master page in visual studio?

SPD is very uncomfortable for me. I try to open master page ny using the path "\portal\davwwwroot_catalogs\masterpage", but visual studio give the error Microsoft Visual Studio Could not find ...
2
votes
3answers
3k views

Master Page how to specify correct Path for CSS and Images

1) In My custom master page I have registered my CSS as follows, <SharePoint:CssRegistration name="/mycssfolder/css/mycss.css" After="corev4.css" runat="server"/> Now I have my folder ...
2
votes
4answers
468 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 ...
2
votes
2answers
50 views

Anatomy of a SharePoint 2010 Master Page? Resource for this?

I am interested in finding out detailed information about all the elements within the SharePoint master page v4 to start, in order to learn how to create my own while still retaining key ...
2
votes
2answers
504 views

How to retrieve Sharepoint list data in master page

I have Created Custom Master Page. and i want to access SharePoint List Data in this Master Page using JavaScript. I write the following script to access data but it gives error that ...
2
votes
4answers
3k views

Loading jQuery in the Correct order

I wish to use a jQuery plugin in SharePoint. Currentley I have jQuery added to each page via a custom master page. <script src="/Style Library/js/jquery-1.6.4.min.js" ...
2
votes
4answers
1k views

How do I customize these master page areas?

I am creating a custom SharePoint 2010 master page. I am basing it off of the v4.master. As part of the customization, I would like to hide the "Libraries" part, Discussions, Recycle bin. I would like ...
2
votes
1answer
448 views

Dynamic Master Pages

Has anyone ever managed to implement dynamic master pages on a publishing site? Something along the lines of the master page switching automatically depending the referrer or some other passed ...
2
votes
1answer
27 views

C# How to read display templates location in Sharepoint 2013

Sharpeoint 2013 has a default filter template located at: _catalogs/masterpage/Display%20Templates/Filters/Filter_Default.js How can I read the absolute path of the _catalogs masterpage in C# ? ...
2
votes
4answers
604 views

Detecting Registered Scripts on Page - ScriptLink or anything else!

I have a webpart that requires jQuery to run. Therefore, in my code I want to check if jQuery is not on the page inject it. I've got down the inject part, but the detection part it where I'm ...
2
votes
2answers
2k 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.

1 2 3 4 5 7