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

Mobile View - Object Reference not set to an instance of an object

When trying to access a site on a mobile device. I am getting Object Reference not set to an instance of an object. What in particular would cause this problem. Could I have accidentally removed an ...
1
vote
1answer
2k views

Customizing SmallSearchInputBox default text

I am trying to customize the text displayed in the search box of my SharePoint site. The default is "Search this site...". I found a number of articles which explain how to do it (by overriding the ...
2
votes
4answers
1k 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 ...
3
votes
2answers
3k views

Sharepoint Master Page Powershell

We have over 80 Site Collections in our Web Application is there a way through power shell that i can set the same master page for all the site collections.
0
votes
1answer
275 views

Programmatically set src attribute for JavaScript link on masterpage?

The dev site was set up as a subsite in a site collection with the URL http://server/sites/site but on the production server it's just http://site so the src attribute on the dev box <script ...
1
vote
0answers
32 views

Turn off Library and List Style

Is there any way to turn off the custom master page style to Libraries and Lists in SharePoint 2010? ( I know how to turn off for the _layout pages)
0
votes
1answer
2k views

Overwrite custom masterpage on deployment? [duplicate]

Possible Duplicate: How to update custom master page and page layout, which is already deployed I have my custom masterpage in my visual studio solution and first time I deployed it worked ...
1
vote
2answers
716 views

Using replace with an Eval in the Master Page

I am trying to replace all the spaces in my title to use as an ID, but I keep getting this error: error CS0103: The name 'Replace' does not exist in the current context The code I am using is this: ...
0
votes
2answers
1k views

Add more to PlaceHolderMain (Custom)

I made a master page and created a new page from it. In the PlaceHolderMain I added a few WebPartZones and then in the browser filled them with CEWPs and filled the CEWPs with content. Now I go back ...
1
vote
1answer
629 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
612 views

Multi-level top navigation menu on the application/_layouts pages

I created custom master page, and I created feature for top navigation menu. My custom master page works fine, but not on the application/_layouts pages; viewlsts.aspx, settings.aspx, etc.. I only see ...
0
votes
1answer
3k views

Page Title not showing up in the breadcrumb - SharePoint 2010

I am trying to include current page title after site name on a sharepoint 2010 publishing site. The master page that I have created contains the necessary control to render the page title as attached ...
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 ...
2
votes
3answers
703 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
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
3answers
1k views

System.ArgumentException: Could not find the sitemap node with URL '/_layouts/WebAnalytics/WebAppSelection.aspx'

I've made a custom master page for my SharePoint site and it works fine on all the pages that I've checked except for the Web Analytics pages. I get the following error in the logs when I go there: ...
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
1answer
477 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
4answers
6k views

Sharepoint 2010 Modal Dialog Box is cropped

I am working on SharePoint 2010 project with custom master page. I am having this problem where contents on my modal dialog box is cut off (see below). I have spent hours googling and using firebug ...
0
votes
3answers
893 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? ( ...
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 ...
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 ...
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
2answers
1k views

HTML-Element appears in dialog-windows though s4-notdlg is set

I have a customized sharepoint masterpage. The basic structure is the starter master pages from codeplex. So i did my customizing and unfortunately some of the elements appear in the dialog windows ...
3
votes
1answer
326 views

SitePages uses System Master Page

Bit of a strange issue today. I wasn't involved in the initial branding/master pages etc of my companie's SP Environment. Anyways, I have a strange issue. On my site, I have some pages storted under ...
0
votes
2answers
2k views

jQuery addclass and remove class not updating properly

I have a SharePoint ASPMenu in a MasterPage, I;m trying to change the selected style class using jQuery. Basically when user click a menu item it will cause postback so that the page will be directed ...
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
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
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 ...
1
vote
2answers
1k views

Editing default master Broke Central Admin

My environment is SharePoint 2010. I was working on some master page changes and accidently I opened default master from (C:\Program Files\Common Files\Microsoft Shared\Web Server ...
1
vote
3answers
5k views

Master Page file cannot be loaded when trying to edit aspx on a subsite

A while ago, we (myself and our web developer) customized our master page. We made a copy of v4.master called v4custom.master and edited it. This was at the site collection level. Just recently, a ...
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 ...
0
votes
2answers
227 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 ...
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
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
1answer
626 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
693 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
678 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
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 ...
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
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 ...