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
1answer
2k views

Add HTML link tag with dynamic SRC attribute to masterpage HEAD section

I need to add a <link> tag with a dynamic src attribute to a custom masterpage <head> section pointing to a current SPWeb library like this: <link rel="alternate" ...
3
votes
2answers
868 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 ...
1
vote
1answer
634 views

Updating an uncustomized master page deployed as a wsp solution

I deployed an uncustomized master page as a SP 2010 Server farm solution using these instructions http://plekky.com/blog/Lists/Posts/Post.aspx?ID=11 Now I need to update the master page. I edited it ...
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 ...
2
votes
3answers
5k 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 ...
1
vote
1answer
697 views

Unable to Import MasterPage

I am trying to Import a master page to Master Page folder from SharePoint designer 2010. Unfortunately it is coming under page Layouts. Not sure what am I doing wrong here? I tried with the import ...
1
vote
3answers
703 views

How do I list all masterpages using client object model

I want to get all masterpages in client object model. For classic lists and libraries, I use context.Web.Lists.GetByTitle(listname) How do I do that to get the masterpage list ...
3
votes
4answers
6k 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" ...
0
votes
4answers
2k views

Is the masterpage in 14 hive or backend db

Our Masterpage got corrupted and there is no local backup. Where is it located? If is in file share like 14 hive then I can get a copy from system admin from last night backup? Or if is in the sql ...
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 ...
2
votes
1answer
384 views

Error when trying to auto create Personal Site (My Site > My Content)

I have created a custom master page for my sites and am using feature stapling to associate the master page with the personal site once it is provisioned (when a user first clicks the My SIte > My ...
3
votes
3answers
1k 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
2answers
6k views

How do I add the top link navigaton bar to the Enterprise Search Center?

The Enterprise Search Center appears to use the minimal master page, and has no top link navigation. This seems a bit silly and is hard to use if you use the Search Center as a subsite in a larger ...
0
votes
1answer
61 views

How can I get a reference to the server side form control from inside a web part?

I have a web part embedded in a publishing site that needs to get a reference to the <form runat="server"/> in the master page. I have to set the 'action' attribute to allow the form to post ...
1
vote
5answers
13k 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 ...
1
vote
4answers
899 views

How to embed a CQWP into a master page or DelegateControl

I'm looking for a way to embed a pre-configured Content Query Web Part into a master page. In short, I have a SharePoint:DelegateControl on the master page and I want to plug the web part into it by ...
1
vote
1answer
362 views

Sharepoint 2010 Calendar problem

I have problem with my custom master page and calendar. When I apply my custom Master Page calendar doesn't work and shows following error: http://screencast.com/t/HasSqkjFoN4x But when I use ...
0
votes
1answer
296 views

SharePoint 2007 Master Page Problem

Our SharePoint installation is using a custom masterpage at the moment and I would like to create a completely new one. All of the sites are using custom.master, located in the master page gallery ...
4
votes
1answer
592 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"> ...
7
votes
2answers
899 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 ...
1
vote
1answer
92 views

Force use of the default content of a master page asp:ContentPlaceholder

I have a ContentPlaceholder in my custom master that has default content. I want to always use this default content. However there are some pages in the 14 hive that have an asp:Content that ...
1
vote
2answers
167 views

Understanding master Page scope

I have a site (not site collection) for which I would like to add a customized Site Master Page. When I open the site in SharePoint Designer, I see default.master minimal.master v4.master The ...
1
vote
1answer
219 views

Prevent search from indexing master page

I am using SharePoint Foundation. When I perform a search of "news", all of my site pages appear in the search results, because there is a "news" link in my master page. I would like it to only ...
1
vote
1answer
1k views

System.ServiceModel.Channels.ServiceChannel in faulted state

When I try to deploy my SharePoint masterpage using Visual Studio I get the following error: “The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for ...
0
votes
3answers
510 views

SharePoint redirect to add parameter

I want to add a parameter "Force=True" when the user is redirected to userdisp.aspx (when you click on people's name) What is the best way to do it? Details: I need that because I do not have a ...
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 ...
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, ...
0
votes
1answer
664 views

Different breadcrumb navigation style on some pages

I am working on a theme for Sharepoint 2010. While working on the header area, I ran into a very annoying problem regarding the breadcrumb navigation: It looks good everywhere, except for sites that ...
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 ...
2
votes
2answers
249 views

How can I rename Page Layouts without having to manually reset content pages using those layouts?

I need to rename a bunch of Page layouts and Master Pages without having to re-set the Page Layout to each content page that is using those layouts. For example: I have two page layouts - ...
4
votes
1answer
237 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 ...
0
votes
1answer
529 views

Empty exception using powershell to add a masterpage

When i try to add a masterpage to a web application using the following code : $MasterPage = "C:\test.master" $MasterPageName = [System.IO.Path]::GetFileName($masterpage); $SpWebApp = ...
0
votes
2answers
653 views

Fixed content in page layouts

I hope you can help me with this simple user case. I have a master page and several page layouts in SharePoint 2010. The master page standardizes only the header, navigation and footer. The page ...
0
votes
2answers
794 views

NullReferenceException on function call in master page

I've got the following code that works well on most pages in SharePoint 2010; but it blows up on Site Actions > Site Settings > Manage site features with a NullReferenceException on the GetRootTitle() ...
2
votes
2answers
527 views

Automatically sort quicklaunch items

We can sort quicklaunch items directly on a website or with powershell (see a great tutorial here). But is there an option to tell SharePoint:AspMenu in masterpage to automatically sort the ...
2
votes
1answer
632 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 ...
1
vote
1answer
221 views

Editing custom master pg. gives “Access Denied”

I'm getting an error on SP2010 while editing a custom master page: When any user who doesn't have administrative (Full Control) rights tries to access the site, it gives "Access denied". This page ...
0
votes
1answer
3k views

Index was out of range. Must be non-negative and less than the size of the collection on Masterpage

I have created a custom master based on Just The Essentials.master by Heather Solomon. When I apply it to a publising page it displays fine. When I go to edit mode I get the following: Index was out ...
1
vote
2answers
247 views

ID on the body tag

We have a custom master page for our sites. If on the home page we wish to style it differntley to all the other pages (including the homepage of sub sites). Normaly to do something like this I would ...
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
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 ...
1
vote
2answers
5k 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
3answers
444 views

Change Doctype for one Site

I'm very new to sharepoint development and I would like to know, if it is possible to change the doctype in SharePoint just for one page (or better for a webpart, I think just for a webpart or is it ...
0
votes
2answers
536 views

Auto Format Masterpage in Visual Studio

I am creating a custom master page in visual studio. I inherited this from another developer who has not learnt how to indent code properly. One thing that I have noticed that seems it is not possible ...
3
votes
1answer
76 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
1
vote
1answer
3k views

How to add a custom footer navigation to SP2010 Master Page?

I'd appreciate any suggestion on how to add a custom footer navigation similar to the one found at http://www.washington.edu to a master page? The link doesn't have to be automatically generated as ...
0
votes
1answer
2k views

Problem with Sharepoint 2010 MasterPage

I created a custom Master page in visual studio, deployed it and used the FeatureActivated event to set it to the default and custom master for the site. SPWeb curWeb = ...
9
votes
4answers
4k 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 ...
33
votes
6answers
20k 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" ...
0
votes
2answers
187 views

Add content to a masterpage placeholder in a specific site template

I have a master page which is a customized copy of v4.master. I want to add some content to a the placeholder called PlaceHolderQuickLaunchBottomV4: <SharePoint:UIVersionedContent ...