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
630 views

Looking for a tutorial on creating SharePoint masterpages as solutions in Visual Studio

I am looking to build some SharePoint masterpages for 2010 and deploy them as WSP solutions to my various SharePoint environments. Are there any good tutorials out there on building a VS solution for ...
2
votes
1answer
416 views

unable to create new fields after upgrading masterpage to 2010

I am unable to create new fields in existing lists after upgrading my 2007 master page to 2010. I get an error which says Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE ...
0
votes
1answer
73 views

Line brakes between paragraphs on Page Content Field

I have SharePoint publishing site, just a basic staff - few CQWP and Page Content Field. The problem with my page content field is that it put line brakes between my paragraphs or lines in a sentence. ...
0
votes
2answers
185 views

Custom Master Page Issue

I was hoping someone could help me out with a little issue I have in regards to a customized masterpage. A bit of background: I need to revamp our Intranet website upon migration to 2010 so decided ...
0
votes
2answers
444 views

Beginners question regarding code-behind for aspx pages

I've been studying sharepoint for a matter of days now so please bear with me if I'm missing something really obvious. I've followed a couple of guides that have got me familiar with the process of ...
0
votes
2answers
228 views

Site Icon, and Images yeilding 404 error

I am currently trying to change the site icon. I have uploaded the icon picture to the Style Library in a folder titled Demo. The name of the picture is Logo and it is a .png file. When I give the ...
2
votes
1answer
40 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 ...
0
votes
1answer
478 views

Best way to initialize an Contextual Tab?

I've a custom contextual ribbon tab element and I'm initializing it throw the following code on a webcontrol hosted on the masterpage: protected override void OnPreRender(EventArgs e) { ...
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
3answers
461 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" ...
0
votes
3answers
1k views

Use v4.master for layouts, but custom master for site

We have a SharePoint 2010 publishing site (migrated from 2007 via db-attach), and we have a custom master page for the site. But whenever I access files under _layouts/ (eg ManageFeatures.aspx, ...
0
votes
2answers
857 views

How to setup an internet facing site using MasterPages and Page layouts?

I'm trying to customize my SharePoint site to be an internet facing site. I know I can do this by setting up customized masterpages and page layouts, but I didn't find a lot of documentation for ...
1
vote
4answers
891 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 ...
0
votes
3answers
894 views

Custom minimal.master for SharePoint Online

Same as for a custom v4.master, I want to create a custom minimal.master. The common advice: make a copy of minimal.master and then modify it. But how can I reference to the custom minimal.master? ( ...
1
vote
2answers
156 views

Problem with TopNavigation menu

I have custom master page .. it's everything ok in site pages , but when i open pop up dialog forms to add list item or theme my TopNavigationMenu is visible in dialog it. How can i modify to ...
2
votes
2answers
899 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 ...
0
votes
1answer
233 views

Broken versioning for master pages and style library

This has been frustrating me for a while. When I look at the master page library or the style library on my SharePoint site I see that versioning is in place. However, the site itself always loads ...
1
vote
1answer
1k views

SharePoint 2010 Foundation css url in Master Page

I have an image that is located at the root Style Library site. I want to put that image in the MasterPage. Using SharePoint Designer, I get this reference background-image:url('../../../../Style ...
0
votes
2answers
1k views

ContentPlaceHolder generates automatically width=100%

in my custom master page the content doesn't fit into the page since a automatically generated table with the id=layoutsTable has width="100%". Since i have a fixed page layout there are some issues ...
0
votes
2answers
625 views

Can I have multiple “main” areas in a master page?

In most of the CMS software I've worked with there is a simple method for identifying user-editable parts of a theme. In Concrete5, for example you can add something like: <?php $a = new ...
3
votes
2answers
850 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
2answers
559 views

Referencing jQuery from Masterpage and WebPart

I am referencing jQUery from my MasterPage as follows: <SharePointWebControls:ScriptLink runat="server" Name="/_LAYOUTS/myprojIntranet/js/jquery-1.7.1.min.js" Localizable="false"/> And in my ...
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 ...
1
vote
1answer
627 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 ...
1
vote
3answers
684 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 ...
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 ...
2
votes
1answer
381 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 ...
0
votes
3answers
503 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 ...
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 ...
4
votes
1answer
584 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"> ...
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.
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
1answer
127 views

Embedded JScript in masterpages works in Windows 2003 / fails in 2008

My colleague just reported that he developed a master page with embedded JScript using Windows Server 2003. The same master page fails to execute the JScript when used on a Windows Server 2008 ...
1
vote
1answer
359 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
291 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 ...
2
votes
2answers
525 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 ...
0
votes
3answers
2k views

Setting cookies

I'm working in a MOSS 2007 SP2 Enterprise deployment and I'm trying to add a cookie on a master page. Ideally, the javascript should check if the cookie exists and if it has a valid value, if so, it ...
1
vote
1answer
91 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
166 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 ...
2
votes
2answers
853 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 ...
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
653 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 ...
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
525 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
643 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
784 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() ...