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

0
votes
0answers
15 views

String placeholders {0} in masterpage URL's

I'm working with the bootstrap for sharepoint project which includes some masterpages and page layouts to help make SP responsive. While in the masterpage, on the left nav (quick launch) bar, I see ...
0
votes
0answers
8 views

Reference DLL class Library in MasterPage [migrated]

I know this has been asked in many different ways, but I can't figure out why I cant create an instance of a class registered in the dll of a class library that I have referenced in my project, and ...
1
vote
2answers
28 views

Why don't people pickers work when you set a master page to work with HTML5 and CSS3

I'm working on a web part for which I've customised the master page to work with both HTML5 and CSS3. The problem in doing this is people pickers now no longer work as they have to be set to master ...
0
votes
3answers
412 views

System master page is assigned to all pages, and site master pages has no effect

I am building a publishing site in SharePoint 2010, but I have get in troubles when I choose a masterpage: I have to choose the same masterpage to back-end pages and to site pages. I know that I can ...
1
vote
1answer
42 views

Master page nightmares

I cannot find any solution to the problem I am having so far. I hope someone can help me. I have a site collection with a custom master page. When I edit it (change the default css file used) I am ...
0
votes
1answer
17 views

New features to master page in 2013

what are the most important changes in master pages in SharePoint 2013 than SP2010? Here changes means new feature addition?
1
vote
0answers
135 views

Fixed Width Master Page Issue: List Item Drop Down Menu Gets Cropped / Cutoff

We have a custom master page that is setup in a Fixed Width format. On pages that have a lot of columns we get overflow scroll bars on the x axis which we are fine with. The issue is that the list ...
0
votes
1answer
18 views

Why isn't my Master Page visible in Designer when I deploy it from Visual Studio 2012?

In a VS 2012 project I created "TestMasterPage.master" (a duplicate of v4.master) and added it to a module named "Module_MasterPage" below are contents of elements.xml <?xml version="1.0" ...
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 ...
1
vote
0answers
17 views

AspMenu Has Different Behavior On Publishing & Non-Publishing Pages

Why would a <SharePoint:AspMenu> control behave one way on publishing pages & another way on non-publishing pages? I have a custom master page on a publishing site. I would like to remove ...
1
vote
1answer
61 views

Icon Site actions in custom master page Sharepoint 2013

I want to add a Site Actions icon to my custom master page in SharePoint 2013 In my HTML code : I put the tag ( class="ms-siteactions-root" id="siteactiontd" ) (iIfound it with firebug, I already ...
0
votes
0answers
8 views

broken Page Layout url issues SP2007

Mind numbing issue with our sharepoint site and im confused as heck trying to figure out whats happening. Recently some of our sites started giving a 404 so i looked into it and it seems that the page ...
0
votes
1answer
32 views

Code behind in masterpages?

I have a couple of page layouts and my MasterPage. My portal has 4 main areas and the way items in the header appear depend on which area the user is (imagine like tabs). This is not the only ...
1
vote
1answer
587 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 ...
1
vote
0answers
14 views

Why doesnt any change to the masterpage effect the default landing page of publishing portal?

We are using seattle.master. After creating a publishing portal site colelction, we modified the masterpage and added text 'test' right after starting body tag. However, it wont appear in the default ...
0
votes
1answer
24 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 ...
5
votes
7answers
4k 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 ...
0
votes
0answers
16 views

SharePoint 365 public site masterpage & stylesheet not showing

I have just made a SharePoint 365 public site live, but when I view the site the masterpage & style library aren't being pulled through. Here's the link to the site: ...
0
votes
1answer
11 views

adding css link to masterpage

I have a css script that I want to add to my masterpage, I was wondering how I would do this. I have tried <SharePoint:CssLink Name="site" runat="server" /> and <SharePoint:CssRegistration ...
0
votes
2answers
33 views

adding on load in body in masterpage

simple question, I am editing a masterpage and have inserted a js file that has a function that needs to be invoked with body onload. How would I be able to do this in the masterpage?
0
votes
1answer
45 views

How to hide a masterpage div when displayed in a SharePoint dialog window

I have a sharepoint 2013 portal. I have customized the masterpage by adding a div with a background image. How can I fix this? I only would like to show this header image in the header of the ...
3
votes
1answer
2k views

401 Unauthorized caused by custom master page

just customized a master page for the new SP 2013 Foundation. Deployment, activation etc. works fine (i deploy it using a .wsp built with VS2012) but every time im trying to access my sp-page with the ...
2
votes
0answers
30 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: ...
0
votes
0answers
32 views

Create and use Master Pages in Visual Studio 2013 for SharePoint 2010

Is it possible to easily create a Master Page and reference it in an Application Page in a brand new (Empty) SharePoint 2010 solution using Visual Studio. Something like this but for SharePoint 2010. ...
0
votes
1answer
25 views

The resource cannot be found - User Control in a MasterPage

I wanted to add a user control to a MasterPage. I added the control to a VS Solution and deployed it. Then I opened the MasterPage via SharePoint Designer and added the following code: <%@ ...
0
votes
1answer
29 views

What is the way to use security trimming in masterpage deployed via VS in 2013?

This article mentions how we can modify the masterpage html file in SP2013. However, we are deploying a '.master' file and setting the masterpage via VS package. What is the way that we can perform ...
1
vote
1answer
27 views

CSS file not working on my masterpage

I am using SharePoint 2013 365 and made a .css file to disable wrapping for the drop down menus and higlight with colors when I hover over them. I pointed SharePoint to my .css and when I am in ...
1
vote
1answer
31 views

2013 - Can't edit the subsites Master Pages

Situation : On my SharePoint root site, I can modify without any problem my master pages. But from this root site, I've created few subsites. I would like to edit master pages from theses subsites in ...
0
votes
2answers
30 views

Is there a way to hardcode the site logo image path in the masterpage?

We are have a webapplication and have deployed a feature stapler that assigns the master page to each newly created site (reference). I want to know a way in which we can hardcode the image path into ...
4
votes
2answers
219 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 ...
0
votes
1answer
30 views

Make masterpage as generic for all site collection and sites in SP2013

We have created a masterpage by editing the seattle.master. It is applied to the present site. We want to apply this master page for all sites present in the web application. Also, whenever we ...
1
vote
2answers
23 views

How to use a blank master page?

We have created a blank master page in SP2013 designer and set it as custom and deafult masterpage. Now, if we open any of the site page then we get the error:technical error.
1
vote
3answers
83 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?
0
votes
2answers
39 views

How to deploy masterpage to entire site collection?

we have masterpage on sp2013. When we set masterpage to default then at what scope does it get applied? a. site? b. site collection? c. web application? How can we apply the same masterpage ...
0
votes
1answer
30 views

Is it good practice to change masterpage at runtime?

We have 100 users logging into and using the site simultaneously. We are planning to change look based on loggedin user's profile property value (true/false). Either set master1 or master2 as ...
0
votes
0answers
14 views

Reuse (DataFormWebPart) webpart in old sp 2010 masterpage into new sp2013 masterpage, how?

I have a sharepoint 2013 portal. This site is migrated from sp2010 to sp2013 by a backup of the content db. This backup is restored in a sp2013 environment. No I try to rebuild the existing sp2010 ...
0
votes
2answers
18 views

masterpage after migration from sp2010 to sp2013, topbar has strange backgroundcolor!

My colleage has migrated sp2010 to sp2013. He backuped the content db and restored it on another farm in sp 2013. Now the sharepoint portal is running, but the topbar is showing some ugly background ...
0
votes
0answers
53 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 ...
0
votes
0answers
10 views

Issue with using colors on oslo.master masterpage

Designer --> Master Pages --> create an empty master page (copy of oslo.master) Try this: <div class="ms-belltown-anonShow" style="background-color:red"> You will see that this is not ...
0
votes
1answer
24 views

What is purpose of specifying masterpage when creating composed look in SP2013?

I created composed look with: Modified oslo.master (removed top links) New .spcolor file created using SharePoint color palette tool No image No font file Then I applied this composed look. The ...
1
vote
1answer
28 views

Change site looks based on loggedin users profile property

Which is best practice to achieve change in look (color of top bar) based on a custom user profile property? Property has value yes/no/null. Using pre init event to change masterpage dynamically? I ...
0
votes
1answer
26 views

How to access div id (with runat=“server”) on MasterPage via User Control?

We have masterpage with DIV id="new-div". We have deployed a user control on this masterpage. I would like to know how can we access the new-div via the user control? We need to add some css based on ...
5
votes
1answer
128 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 ...
1
vote
3answers
136 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 ...
0
votes
0answers
25 views

Do we need to write feature event receiver for master page if we are using composed looks?

Generally when deploying the masterpage via VS 2012, we create module, then copy/paste the existing 'seattle.master' and edit where necessary, update the elements.xml file to URL ...
0
votes
1answer
24 views

Styling a 2010 publishing site using a feature - Not enough information to determine a list for module

I've got a site collection which currently only has one web site (the root web). The styling comes in a Site level feature with a few modules to deploy the master page, the CSS, and other resources, ...
0
votes
1answer
21 views

Why do we need to activate/deactivate the feature in case of module project when deploying file?

What is the pupose of the feature when deploying masterpage via VS 2012 module project? I tested and noticed that deactivating this feature does not remove the masterpage from the ...
0
votes
0answers
23 views

How do I mark the link in the navigation I visit? SharePoint 2010

I have created a new navigation to a flat site collection on SharePoint 2010. But the navigation looks like this: I want to move the marker from "Home" to the page I visit. But I have no clue on ...
0
votes
2answers
438 views

Unable to delete a master page which is causing corrupted layout

I have by mistake copy a master page to test a change and then I set this master page as the default page. But when I try to delete this master page from SharePoint designer I received the following ...
0
votes
1answer
31 views

SharePoint 2013 Web Templates Masterpage not found

I created a new web template for SharePoint 2013 (as Farm solution, because it has to be selected when creating a new site collection). The site collection creates succesfully. But when I navigate to ...