.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan
Post New Web Links

Master Page getting applied to site settings page

Posted By:      Posted Date: September 22, 2010    Points: 0   Category :SharePoint
 

I want to apply masterpage to my Home.aspx and not on site settings page.

When I apply my custom master page it gets reflected on the site settings page as well, which I dont want.

Please help.

Regards

Anshul M




View Complete Post


More Related Resource Links

Apply custom.master to "Site Settings" page?

  

I'm using a custom.master page, which is applied to almost all pages available to READ users.

However, I'd like to apply it to the Search, Site Settings, and View All Site Content pages.

I'm not sure where this would be applied.

Guidance much appreciated. Thanks!


Programmatically Hide Master Pages from Site Master Page Settings page?

  

Hi,

I know there is a field you can check when you edit the properties of a Master Page in the Master Page Gallery to set a Master Page to hidden but ... can anyone think of a way to programmatically hide specific Master Pages from the Site Master Page Settings page?

Maybe this should be two questions:

  1. How do I programmatically access a Master Page in a Master Page Gallery?
  2. Is there a property that can be set that will hide the page from the Site Master Page Settings page?

The site master page setting currently applied to this site is invalid. Please select a new master p

  
I have defined a new master page and set it as default for the main site.  Any time I create a new subsite it does not apply the new master page and defaults back to the default.master.  The Site Master Page Settings shows this error. The site master page setting currently applied to this site is invalid. Please select a new master page and apply it The system master page setting currently applied to this site is invalid. Please select a new master page and apply it. Now if I select "Inherit site master page from parent of this site" and "Inherit system master page" and click ok the site will use the new master page and everything is fine.  There is only one modification to the master page that was done so I know the master page isn't invalid.  Does anyone know the answer other than recreating the new master page.

Master Pages: Master Your Site Design with Visual Inheritance and Page Templates

  

Master pages in ASP.NET 2.0 solve a problem many Web developers have been solving on their own with a variety of techniques for years - providing a single master template for an entire site. This article covers the details of master pages, discussing their usage and implementation and how they are a natural evolution of custom techniques developers are using today.

Fritz Onion

MSDN Magazine June 2004


Sharepoint 2007 - Wiki site - New Pages Not Inheriting Custom Master Page

  

I am working on a SP site (MOSS not WSS) which is heavily customised away from the OOTB layout. I need to create a Wiki site, which was going well - I've created a master page which displays the miniconsole (this was not visible with our customised layout), and made it the default master page for the site. This has been applied to the two standard pages that come with the Wiki site, however when a new page is created, it seems to inherit the default.master, rather than my custom master page - thus not showing the miniconsole.

When I have created a new page, I am able to use SharePoint Designer to attach my custom master page to it, which works perfectly, however this will not be a viable option going forward as end-users create their new wiki pages.

How can I get the new pages to inherit my master page when they are created?

Shark


Unable to create columns in document library after applying custom master page to site

  
Hi, I have applied a custom master page to a site.There is a document library in it. I am unable to add columns in it or change the default view.Nothing happens when I click on OK butoon after making my changes. However the columns are created/default view is changed when I apply the default master page. Guess I am missing some TagPrefix or sharepoint control on master page.I had solved this problem earlier in this way but don't remeber it now. Can anyone help?

Master page is reset to v4.master when new site is created.

  
Hi, I have a site definition which specifies my custom master pages like this: <Project... <Configurations> <Configuration ID="0" Name="Innovations" CustomMasterUrl="_catalogs/masterpage/Innovations.master" MasterUrl="_catalogs/masterpage/Innovations.master"> ... I have a site collection http://myserver/projects and a sub-site TestSite at http://myserver/projects/testsite based on that definition above. I save TestSite as a site template and then create a new site Test2 at http://myserver/projects/test2 from the saved template. All seems to be ok but new site master page is v4.master and not Innovations.master. What's wrong here? Of course I can manually change it to Innovation.master but isn't it supposed to be done automatically upon site creation?

I am a Site Administrator, but I do not see Site Settings or Edit Page menu from Site Actions

  
Hi, I have been using MOSS for over 2 years, but I have not even heard or seen this kind of situation. I am a Site Administrator, but I do not see Site Settings or Edit Page menu from Site Actions menu, and I typed in http://mysitecollection:portnumber/_layouts/settings.aspx to go to setting page manually and looked around there. I confirmed that I am the site administrator, but when I go to Advanced Permissions, I do not see any checkbox beside each users. So basically, I am a Site Administrator on the site, but I am really NOT! What is going on here!? 

Retract custom master page feature and all site pages stop working

  
There is a requirement to apply custom branding on personal sites in a SP 2010 project. For this I have created a feature which uploads and applies the custom master page on creation of any new personal sites.   I have stapled this feature (using feature stapling concept) to the “SPSPERS” (personal site) site definition. The custom master page is displayed on the creation of new personal sites. On feature deactivation, I am looping through all the personal sites (as the feature is deployed on a team site) and pointing the master URL back to v4.master. But when I retract the solution and browse to the personal site, I am getting a “404 File not found” error.  But am able to view the settings page by typing the URL.   I activated the publishing features and looked at the master page applied to the personal site. It was pointing to v4.master.   Any help on this is appreciated. Regards, Neha

Retract custom master page feature and all site pages stop working

  
I have stapled this feature (using feature stapling concept) to the “SPSPERS” (personal site) site definition. The custom master page is displayed on the creation of new personal sites. On feature deactivation, I am looping through all the personal sites (as the feature is deployed on the root site) and pointing the master URL back to v4.master. But when I retract the solution and browse to the personal site, I am getting a “404 File not found” error.  But am able to view the settings page by typing the URL.   I activated the publishing features and looked at the master page applied to the personal site. It was pointing to v4.master. Any help on this is appreciated. Regards, Neha    

programatically add link in site settings page through feature

  

Hi folks,

          Im newbie in SharePoint, we have created an Application  Page for Managing the WebPart Permissions. We need to add one link called "ManageWebParts"  in the site settings Page so that  the admin can go the site settings and  Navigate to the ManageWebpart.aspx Page using this link. How we can  add the link  through programatically using feature???

 

Your thoughts??

 

 

Thanks & regards

Pulikkan


where to specify the master page in site definition?

  

hi

 

There are two site definition created. and two master pages for each.

Now when user creates new site definition the respective master pages should be applied automaticaly.

what needs to be done?


Programaticaly set the Page layouts and site settings

  

 

I have created custom site definition,

After  creating subsite with this site template.

In this subsite --> Create Site --> This custom site definion should not appear

I set it Subwebonly="False"  in respective  xml file

 

How to programaticaly  set           -------->the  site actions -->Site Setting --> look and  feel -->Page layout and site settings

 

 

<Configuration ID="1"

Error: There are no page layout files available in the master page library of the top-level site.

  
I exported one of the subsite using stsadm and imported into a new site collection, I could access the new site collection but whenever I try to create a new page in my new site collection I get the following error.

There are no page layout files available in the master page library of the top-level site. Add one or more page layouts to this library before you create a page or set page properties.

 
Please help. Thanks.

Site Settings - Page Layouts and Templates Error

  

I'm getting an error page when trying to reach Page Layouts and Templates page from site settings on one of the sites in our collection.  When the user clicks on Site Settings -> Modify all site settings -> Page Layouts and Site Templates an error page is displayed with the message: Data at the root level is invalid. Line 1, position 1.  I've checked Event Viewer on the server and found no errors for this issue.  I'm very new to SharePoint Admin and I'm not sure why this would happen.  I'm including an exerpt from the log file below.  Does anyone have any ideas for me? 

10/30/2009 13:50:01.42 	w3wp.exe (0x0BC4)                       	0x07C8	Windows SharePoint Services   	General                       	8e25	Medium  	Failed to look up string with key "ReportBuilderContentTypeDesc", keyfile .	 
10/30/2009 13:50:01.42 	w3wp.exe (0x0BC4)                       	0x07C8	Windows SharePoint Services   	General                       	8l3c	Medium  	Localized resource for token 'ReportBuilderContentTypeDesc' could not be found for file with path: "(unavailable)".	 
10/30/2009 13:50:01.43 	w3wp.exe (0x0BC4)                       	0x07C8	Windows SharePoint Services   	General                       	72kg	High    	#20015: Cannot open "Resources.en-US.resx": no such file or folder.	 
10/30/2009 13:50:01.43 	w3wp.exe (0

What's the "right" way to create a site template and inherit a custom master page?

  

Correct me if I'm wrong, but in 2007 whatever masterpage you had selected was saved in the site template and was re-created when a new site was created from said template.

It occurs to me that it's different in 2010.

Custom master pages from a site template aren't inherited and they don't keep the specified value when you ask it to before creating the template itself.

So, what's the "correct" way?  What's the difference in making a site template using a blank site or publishing site?

Here I thought I'd be able to make a site template and move on to my next project.

Thanks in advance!

-Mike


Using HttpModule to change master page dynamically on SharePoint 2010 site

  

I am trying to change master page dynamically on SharePoint 2010 site. I reviewed some documents (SharePoint: Dynamically Change Master Page: http://ranaictiu-technicalblog.blogspot.com/2009/10/sharepoint-dynamically-change-master.html) and I implemented IHttpModule, added it to GAC, modified web.config(safecontrol, httpmodule, module)
It works good! But I found some problems
1.Never catch the PreInit event for publishing pages
2."/_Layouts/RedirectPage.aspx" page occurred error
3.ContextMenu did not work

using System;
using System.Collections.Generic;
using System.Text;
using System.Web;
using System.Web.UI;
using Microsoft.SharePoint;
using System.Configuration;
using Microsoft.SharePoint.ApplicationRuntime;

namespace MasterUtilModule
{
    public class MasterModule : IHttpModule
    {
        public void Dispose() { }
        public void Init(HttpApplication context){
         

Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend