简体   繁体   中英

Sharepoint Master page in Sitepages?

i need to create a custom header like a banner or something in my sharepoint site but when i set the master page as site master page nothing happens, so i need to see my custom master page header in my site pages and not in my admin, so what should i do to get it work?

I tried to set as default master page so it works but it appears also in my admin and i dont want that, i just want it in my site.

Im using sharepoint 2010

Appreciate any help u give me, and sorry for my bad english :)

PD i dont know anything about sharepoint, im learning, thanks

What I could get from the Question is you want your custom MasterPage on all the Pages except Admin.

you can set it as default Master page and for the admin page you can change the master page using SharePoint designer:

At the top of code just edit the Master page name you want to use. in This case it will be default.master

<%@ Assembly Name="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%> <%@ Page Language="C#" Inherits="Microsoft.SharePoint.WebPartPages.WikiEditPage"
**MasterPageFile="~masterurl/default.master"** meta:progid="SharePoint.WebPartPage.Document" meta:webpartpageexpansion="full"       %>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM