1

Is creating a master page for sharepoint 2010 is the same like any asp.net app?

Am not familiar with sharepoint and am required to change the master page html with a new one, also to create one aspx page that uses the master one, is there any differences compared with the normal master page?

4

3 回答 3

2

母版页

母版页定义了页面的结构,例如整个站点通用的导航元素。

创建新母版页的常用技术是复制 SharePoint 附带的现有母版页之一。

您最好的选择应该是在 SharePoint Designer 2010 中查找或进行编辑v4.masterminimal.masterC:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS

页面

在创建新页面时,您有两种不同类型的页面,即应用程序页面和站点页面,它们都继承自同一个母版页。有关详细信息,请参阅有关 SharePoint 页面类型的 MSDN 文章

于 2012-05-21T09:57:02.503 回答
0

sharepoint server 2010 在 sharepoint 设计器中打开你的 sharepoint 站点

在 sharepoint 设计器中找到 V4.master 页面复制此母版页并在该复制的母版页上重命名复制的母版页您可以更新/修改该母版页上的所有内容。

于 2012-05-21T10:12:49.590 回答
0

关于创建引用母版页的 aspx 页面,ApplicationPages 的引用部分保持不变,即您使用 DynamicMasterPageFile 属性在 Page 指令中引用母版页。

定义母版页可能相同也可能不同,这取决于您的要求。但是,最好的办法是复制现有母版页并将不需要的 SharePoint 组件(如功能区)的可见性设置为无。

于 2013-08-12T15:10:26.077 回答