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

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
535 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
713 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
265 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
242 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
583 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
681 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
838 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
545 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
649 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
241 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
250 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
5k 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
478 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
545 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 = ...
10
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
22k 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
188 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 ...
0
votes
2answers
706 views

Imported site collection has “Revert to template”

I've imported a site collection via PowerShell and all the pages show the message: The current page has been customized from its template. [Revert to template]. The original site collection didn't ...
1
vote
1answer
130 views

Add DOCTYPE to mobile page

I am using HTML 5 specific markup () in my modified mobile dispform.aspx page (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\MOBILE\dispform.aspx). In order ...
2
votes
2answers
860 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 ...
0
votes
1answer
145 views

Which contentplaceholder to use for Search Center

In my SharePoint site I am using a custom masterpage which is based on the original v4 masterpage. I did not make any big changes, except add a line to use custom CSS. However when I create a Search ...
0
votes
2answers
543 views

Link in master page to base url

In a WebApp with diffrent site collections and subsites, I would like to add a link on the custom master page of all sites to the WebApp Url. (This Url is corresponding with a home/top site ...
2
votes
1answer
2k views

“Attempted to read or write protected memory” exception

We ran into this error while trying to open the page /_catalogs/masterpage/Forms/AllItems.aspx. I'd been attempting to approve a page layout that I'd just updated and checked in a major version. By ...
6
votes
7answers
6k 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 ...
2
votes
2answers
331 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 ...
1
vote
2answers
1k views

Masterpage upgrade from 2007 to 2010 while still supporting 2007

I'm currently upgrading a SharePoint site with a custom master page from 2007 to 2010. We want to be able to let the user decide when to migrate their site from 2007 L&F to 2010 L&F using the ...
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 ...
1
vote
3answers
2k views

Include html from another file in the SP-masterpage

Our SP-site is used as a part of another non-SP site. The layout should look the same on both the SP-site and the non-SP site. In the past, we have copy/pasted the html from the header and footer of ...
3
votes
3answers
2k 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 ...
1
vote
2answers
11k 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
11k 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 ...
0
votes
4answers
519 views

How to put a class on body tag in page.aspx created from master page

I have 10 pages and each body tag has its own class because of different background images on them. I was wondering how to do it in the master master page so that the class on the body tag when a new ...
3
votes
3answers
1k 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 ...
2
votes
2answers
1k views

Site with custom master page reverts to v4.master on upgrade

I have a web application in 2007 that contains a bunch of sites that all used a custom site definition and a custom master page (deployed using a feature). All is well. I've upgraded the code for ...
2
votes
1answer
98 views

Master Page checked in and approved (as a major version) yet I'm still the only person that can see it

Topic pretty much says it all. I've checked in a new major version of the master page and approved it, but I'm still the only person who can see this page. What am I missing here? This is a ...
2
votes
3answers
464 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
389 views

Sporadically missing “click to add a new hyperlink”

We just migrated from 2007 to 2010 and changed our stylesheets to use v4. We have a list of over 1000 items with a few "Link URL" columns. Occasionally when editing the item, the link url field would ...
1
vote
1answer
490 views

Custom .aspx pages in Sharepoint 2010

I need to deploy a custom aspx page to Sharepoint 2010 using Visual Studio. So far I added a new Sharepoint 2010 page and I see the new page in my 14 hive. However, I can't figure out how I can access ...
1
vote
1answer
258 views

Creating Site Templates - Master Page Not Being Handled Right After Upgrade

In our old MOSS 2007 farm we had a branding feature deployed that swapped out CSS Files, Master Pages, etc for our sites to keep a consistent branding across our Site Collections. We are currently in ...
6
votes
4answers
7k 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 ...