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 ...
1
vote
3answers
317 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
885 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
254 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
298 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
90 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
381 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
1k 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
45 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
121 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
223 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
194 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 ...
6
votes
2answers
694 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 ...
2
votes
2answers
354 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
1k 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
80 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
123 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
168 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
667 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
623 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
406 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
139 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 ...
5
votes
3answers
2k 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 ...
4
votes
1answer
188 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
340 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
437 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
483 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
1answer
427 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
95 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
2k 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
183 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 ...
3
votes
5answers
2k 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 ...
0
votes
0answers
141 views
Upgraded from 2007 to 2010 and now Welcomelinks.aspx no longer shows the left nav
I have just upgraded from SharePoint 2007 to SharePoint 2010 and the welcomelinks.aspx page no longer shows the left navigation section.
The file was checked out during upgrade which might explain ...
1
vote
3answers
223 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
382 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 ...
0
votes
1answer
78 views
Extracting a SharePoint 2007 Master Page to a Standalone Configuration
Currently I'm tasked with taking an application, which is SharePoint 2007 mostly in the fact that it only uses the SharePoint Master page, and turning it into a standalone application. Has anyone ...
0
votes
2answers
513 views
Reusable content disappearing on Publishing Page
On the publishing site I've created a simple page with a Page Content. I've added a web part there and then I'm trying to add a Reusable Content. However it turns into a like here
Any workarounds?
3
votes
1answer
73 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
2k 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
1k 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 = ...
0
votes
2answers
151 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
...
1
vote
1answer
184 views
Gantt view is missing when using the starter master page [closed]
I am using the starter master page in one of my projects but the Gantt view does not show up for a list. Any ideas?
1
vote
1answer
388 views
How to configure two search boxes - one for people and one for content?
I would like to have two search boxes on my master page, one that would search for content and the other one that would search for people.
I see the code in the master page that searches for content:
...
0
votes
1answer
475 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
117 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
1answer
1k 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 ...
0
votes
1answer
99 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
243 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 ...
1
vote
1answer
220 views
Master template is not being applied to document libraries
I have a MOSS 2007 site set to use a master template called Awesome.master http://mysite.com/AwesomeSite/AwesomeSite.aspx
I recently updated this template to change the <body> tag, and that ...
2
votes
2answers
167 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 ...
