Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, April 24, 2012 7:17 AM
hi,
I have created a new master page by modifying the existing v4.master page. I have kept the new master page in the same place (14/templates/global). when am trying to assign new master page (web.MasterUrl = "v5.master";) am getting fallowing error ."Invalid url: vs.master".when I tried to check the path of existing master am getting fallowing path.
/_catalogs/masterpage/v4.master
I have 2 questions.
- where the path "/_catalogs/masterpage" is located . am not able to find it ?
- how I can assign the master page(v5.master) url to my sub site. ?
Thanks Thanks
Prashanth J
All replies (3)
Tuesday, April 24, 2012 7:25 AM ✅Answered | 2 votes
Hi, Prashanth
/_catalogs/masterpages is a document library. If you want to upload a document there, you can use Sharepoint designer or the Site Actions in Sharepoint: Site actions -> Site Settings -> Galleries -> Master Pages.
Try to install this solution: http://www.riolinx.com/en/blog/Lists/Posts/Post.aspx?ID=25
It's free, installs 8 templates and, the more important, if you are using Sharepoint Foundation, installs an option that you can asign a page to a site or subsites, by default this option is only avaliable in Sharepoint Server 2010.
regards.
Tomás González. Twitter://@tgmourino
Tuesday, April 24, 2012 7:29 AM ✅Answered | 1 vote
Hi Prashanth,
The _catalogs/masterpage means the Master Page is saved in the Masterpage Gallery.
And can be viewed at this location as shown below-
Refer this excellent MSDN post which clearly explains on Deploying Branding Solutions for SharePoint 2010 Sites.
http://msdn.microsoft.com/en-us/library/gg447066.aspx
They have also provided the code for reference.
Hope this helps.
Please "Mark As Answer" if my post solves your problem or "Vote As Helpful" if a post has been helpful for you.
Tuesday, April 24, 2012 7:36 AM ✅Answered | 1 vote
Hello!
/_catalogs/masterpage/ - this path is a virtual path, in database, not in file system.
You may put your masterpage to this path using SharePoint Designer.
Don't happy, be worry...