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

3
votes
0answers
1k views

Content controls have to be top-level controls in a content page or a nested master page that references a master page

I build an MVC application and I run it by linking a content editor webpart to the index.html file. That usually works fine but I'd like to build it into an aspx page and link to that page directly. ...
3
votes
4answers
76 views

Login Prompts Several Times before home page loads

In live SharePoint Env, we have deployed custom master page. when user tries to login by inserting correct credentials,login prompts 5-6 times before home page loads but in development env we don't ...
2
votes
3answers
814 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
5answers
18k 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 ...
2
votes
3answers
2k 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
2k views

Cannot access SharePoint Online site because of corrupt master page

I was trying to edit my master page and attempted to upload a new file. It seems that it was unsuccessful but when I try to go back to any page of my site, I get the following error: An error ...
2
votes
3answers
7k 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
2answers
5k views

How to make new sites inherit parent site's master page automatically?

I've Sharepoint 2010 Server and I have a main site, say, in http://mysharepoint.com. I've edited its master page (v4.master) (to add some web parts, yes, web parts directly into the master page, it's ...
2
votes
2answers
912 views

custom master page / branding from _layouts instead of provisioning feature

Is it possible to apply a custom master page and theme to a site from the layouts folder instead of provisioning them down to the site with a feature? I'd use code and a feature receiver, but not sure ...
2
votes
3answers
3k 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

SharePoint 2013: Responsive Master page

I have been given an assignment to create a Responsive Master Page for SharePoint 2013. I've been researching for few days and found out that we can achieve it using: Media Queries Device channel ...
2
votes
4answers
6k 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 ...
2
votes
2answers
11k views

How to edit a sharepoint master page without using sharepoint designer?

I have a masterpage that resides on a sharepoint server, on the server designer is not installed. Basically I want to be able to edit a master page in notepad. Is this possible?
2
votes
3answers
3k 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
2answers
351 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 functionality....
2
votes
2answers
2k 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 "sp....
2
votes
4answers
2k 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
509 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
2answers
186 views

Attach a master page to a new page created in Sharepoint

As you know we can create a page in sharepoint site in browser in "Site Actions" using "create a new page". And by using Sharepoint designer as ".aspx" and ".html" pages. I have created a publishing ...
2
votes
2answers
842 views

Blue bar in the header disappearing on zoom in Sharepoint 2013

I noticed this in IE8. In Chrome it seems to be working fine. When I zoom in or out the page (CTRL+mouse wheel scroll or using the buttons in the browser's menu) the blue bar of the header disappears. ...
2
votes
1answer
504 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
2answers
4k views

Left navigation bar customization based on user permissions

I have to change my left navigation based on specific user permission. Is that possible without change in masterpage? I know jQuery is one solution but any other way through we change left ...
2
votes
4answers
2k 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
928 views

Application pages and master pages

We plan to use SharePoint 2010 application pages and wondered about our current setup, which has the default master page (v4.master) with no changes but a heavily customized page layout for the ...
2
votes
1answer
703 views

Show site title without link

Is it possible to modify the v4.master on SP2010 so that the site title displays without a link? Here's the element from the master page: <td class="s4-titletext"> <h1 name="...
2
votes
1answer
410 views

Applying default.master to a custom .aspx page in the _layouts folder

I am using SharePoint Server 2007 + C# + .Net 3.5 + VSTS 2008 + ASP.Net. And I am using collaboration portal template. I am developing a custom aspx page and put it in _layout folder of a site and I ...
2
votes
1answer
32 views

SharePoint 2013 master page: unable to find in look n feel

I have uploaded my HTML Master page (a customized Seattle master page) to the Master page gallery. Then it automatically generated the .master file. For some reason, the Master page is not appearing ...
2
votes
1answer
74 views

SharePoint CreatePage.aspx page does not redirect to pages library after page is successfully created

I am facing problem while creating new page to pages library using particular page layout. When I create a new page from CreatePage.aspx page in library, it did not get redirected to newly created ...
2
votes
3answers
84 views

Hiding some elements from ribbon only for Read Only (non admins) with custom css

I am trying to make some page corrections only for some groups of site ins Sharepoint. I can check admin user in master page with SPSecurityTrimmedControl, but how can I insert custom css into master ...
2
votes
2answers
436 views

Can't edit Master Page in SharePoint Designer 2013

I am working in a project in which I have to make some changes according to requirement so when I opened the Master page in SharePoint Designer 2013 it is Showing me lock sign. Although I am able to ...
2
votes
1answer
86 views

Run Inline ASP code on a Published Master Page

I'd like to use the SPUtility.MakeBrowserCacheSafeLayoutsUrl method in my published master page (used in a publishing site) in order to force SharePoint to stop caching my JavaScript and CSS files. ...
2
votes
1answer
74 views

No Javascript, CSS, masterpage loaded in any web application

We've got the following situation. Since today SharePoint central administration and the other 3 web applications are loaded as shown below. No Windows or SharePoint update has been installed since ...
2
votes
1answer
362 views

Settings.aspx different navigation structure in SharePoint 2013

I have following top navigation snippet (default top navigation snippet) placed inside HTML Masterpage for SharePoint 2013. <!--SPM:<SharePoint:AjaxDelta id="DeltaTopNavigation" BlockElement="...
2
votes
2answers
1k views

SharePoint 2010: Users Can't See Changes to Published & Approved Master Page

I checked out the master page in SharePoint Designer 2010. Then I added inline CSS in the portion of the document. I checked it back in and published it. Then I went to the Master Page library in the ...
2
votes
1answer
613 views

how to display the current year in my maste page

I have the folloiwng footer, inside my custom master page:- <div id="customFooter" class="noindex">&copy; .. Group 2013</div> but is there a way to dynamically access the current ...
2
votes
1answer
607 views

Changing the original calendar colour (blue) to match the overlay colour

I have 5 calendars where I have overlayed 4 of them inside a general calendar, and for each of the overlayed calendars I have defined a different color (red, green , pink, etc) which worked well. But ...
2
votes
1answer
311 views

Nav showing drop down subsites when on _layouts/settings.aspx

In both of my custom master pages (both front master page and system master page) I have a navigation control (AspMenu). On all custom pages and application pages, the nav displays no drop down for ...
2
votes
1answer
321 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
2k 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
41 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
914 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
387 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
469 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
61 views

How to create custom master page in visual studio for SharePoint hosted app

I want to create master page for my SharePoint hosted app and apply it to all pages. please suggest the help
2
votes
1answer
182 views

Customizing SearchBox in SharePoint 2013 Online

My customer is not happy with the current position of the SearchBox. So My job is to move it in the X (o365cs-nav) or in the Y (ms-cui-TabRowRight) position. I am looking for these positions in ...
2
votes
1answer
116 views

How I can reset the People Picker height on IE

I am facing a problem on IE 10 32-bit, where the People Picker will not show the people correctly, as the area seems to be minimized. Here is what I get from IE developer tools:- Now if I manually ...
2
votes
1answer
752 views

override corev15 styles in html master page

I am trying to make this master page in SP 2013, I have added this into my html for the master page: <!--SPM:<SharePoint:CssRegistration name="&lt;% $SPUrl:~sitecollection/_catalogs/...
2
votes
1answer
380 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" Src="~/...
2
votes
1answer
196 views

Masterpage Feature Stapling not applied to Blog (SharePoint 2013)

I've created a feature staple for my sites to apply a particular master page. It appears to work for all the subsites/pages in /personal/[userid]/ except for the blog. Any ideas?
2
votes
2answers
4k 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 ...