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" ...
6
votes
1answer
8k 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
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 ...
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 ...
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?
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 ...
7
votes
2answers
6k 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: ...
1
vote
1answer
772 views

How to tell where a masterpage is used in a site collection?

Is there a way, within a site collection, to see all the pages that use a particular masterpage? I have several masterpages and can't remember which ones are used where.
0
votes
1answer
916 views

Unable to reference jQuery inside my master page

I am working with SharePoint server 2013, and inside my Style Library folder I have added the Jquery file. then under the custmJSUrl section inside my seatle.master page, I added a reference to the ...
3
votes
6answers
10k 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
0answers
311 views

SitePages uses System Master Page

Bit of a strange issue today. I wasn't involved in the initial branding/master pages etc of my companie's SP Environment. Anyways, I have a strange issue. On my site, I have some pages storted under ...
1
vote
2answers
41 views
+50

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 ...
1
vote
0answers
121 views

How to implement Infinite scrolling to SharePoint 2010

For example: The search page in SharePoint takes me a long period of time for loading results (what if I got more than 1 million results) so I need to display only 20-30 results first and then for ...
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 ...
3
votes
0answers
78 views

Masterpage conversion - causing javascript errors/masterpage breaks?

JavaScript stops working and Masterpage seems to lose all styles. There are 3 places where a converted .html Masterpage references the original URL/Domain the site was created in. ...
3
votes
1answer
392 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
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
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 ...
2
votes
1answer
324 views

Add Vertical Scroll in IE9

I'm re-branding an Intranet publishing site for SharePoint 2013 using VS2012 - I'm creating project as a Feature and deploying the .wsp file locally. Using IE9, short pages have no vertical scroll ...
2
votes
3answers
875 views

Files deployed in module cannot be found

I'm trying to deploy a selection of pages and master pages in modules but I'm encountering the same problem with all of them. When I try to navigate to a page, I get a File Not Found error (with ...
2
votes
4answers
5k 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
4k views

SP2010 Reset all subsites to inherit masterpage using c#

I'm creating a site feature reciever which sets a custom master page on the root web. I would also like the master page set on the root to be inherit to all the subsites. What is the most elegant way ...
1
vote
1answer
352 views

How to change the Top Bar tab titles

I have a requirement to change the Top bar titles for my team site and community site. For example I need to change the “Page” to be “Page options”.so from where I can change these titles.? Second ...
0
votes
5answers
4k 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 ...
0
votes
4answers
3k views

Top Navigation menu flyouts render blank iframe in IE8

I have a problem with an sp2007 site where the navigation menu flyouts (drop downs) render as a blank white space. This problem only happens on our clients network. It works fine on my own ...
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 ...
2
votes
3answers
671 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 ...
1
vote
4answers
4k views

How to display drop down menu (top navigation) - trying for many days now

I am trying to display top navigation as drop down menu just like you see in theme "seattle". I created my own theme, then I went to "Design Manager" and then I went to "Snippets". I copied the ...
1
vote
1answer
1k views

How to dynamically change master page's master page?

I have designed a module that change master page dinamically based on user log-in privileges. I followed this tutorial : ...
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
2answers
4k views

'Publish' missing in SharePoint Designer 2010

When I try to publish a new master page in SharePoint Designer 2010, the publish options are missing. Also, I can't do anything from the Master Page gallery within SharePoint as the needed options ...
1
vote
2answers
9k views

Can't activate Server Publishing

I'm trying to activate the SharePoint 2010 Server Publishing on a site and it gives the following message: Site The feature being activated is a Site scoped feature which has a dependency on a Site ...
1
vote
1answer
9k views

Change page title in SharePoint 2010

I've noticed that using the default master page on SP2010, there doesn't seem to be any way to change the page title. The page's Edit Properties is grayed out and in SPDesigner, the title area is ...
1
vote
1answer
510 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: ...
0
votes
1answer
72 views

Sharepoint 2013 Custom masterpage ad communties

I have created a custom masterpage which is set to be a 'Site' masterpage and not a system master page. I have a community which I have built using community web parts. When I add a comment to a ...
0
votes
3answers
136 views

Sharepoint site : Javascipts not working

I have a sharepoint site . The javascripts seems to be working only for my home page . If i naviagate to any other pages , the javascripts are not getting executed . I observed the behavior in chrome ...
0
votes
2answers
659 views

Reusable content disappearing on Publishing Page

On the publishing site I've created a simple page with a Page Content. I've added a web part there and then I'm trying to add a Reusable Content. However it turns into a like here Any workarounds?
0
votes
2answers
5k views

No setting on sub-sites to inherit master page from parent of the site

I am using SharePoint 2010........... When I create a sub-site and I go to "Site Settings" there is no option that will allow me to inherit site master page from parent of the site. I have to ...