转载 SharePoint 2013配置Master Page and Page Layout

转载原地址: http://www.cnblogs.com/huangjianwu/p/4539706.html

 

涉及到的内容是关于SharePoint 2013如何部署自定义的母版页和布局页。

  1. 进入到Site Settings中 , and we should click the menu of "Site collection features" in "Site Collection Administration" to enter site collection features manage page. Then, we positioning the row of "SharePoint Server Publishing Infrastructure" feature, and click the button of "Activate" in right position of current row to activate the feature.

 

Second, we should click the menu of "Manage site features" in "Site Actions" to enter site features manage page. Then, we positioning the row of "SharePoint Server Publishing" feature, and click the button of "Activate" in the right position of current row to activate the feature.

 

 

 

  1. Deploy a series of wsp package files which include "Custom_TopNavigation.wsp" and "Custom_MasterPageAndPageLayout.wsp".

 

  1. Now, we should click the menu of "Design Manager" to enter design manager page.

Next step, we should click the button of "Edit Master Pages" in the left navigation to enter master pages convert manage page.

In the master pages convert manage page, we can click the button of "Convert an HTML file to a SharePoint master page" to open a dialog window which can be used to do  select our custom html master page to convert.

 

 

  

  1. We should click the menu of "Master pages and page layouts" in "Web Designer Galleries" classify to enter master pages and page layouts manage page after our custom html master page convert successfully.

Then, we select our custom html master file and click the menu of "Publish a Major Version" to publish it in order to make it valid in master page manage page.

 

 

  1. We should click the menu of "Master page" in "Look and Feel" classify to enter master page manage page of current site collection references.

Then, we select "Custom_MasterPage" master page as our site master page, and select "Custom_SystemMasterPage" as our system master page.

 

 

  

 

  1. Now, we can click the menu of "Add a page" to open a dialog window which can be used to do add a page. For example: we add a page which named "HomePage", and select "Custom_PageLayout" page layout as its reference page layout.

 

 

  

  1. Sometimes we would like to set up a new page as our welcome page. So, we can click the menu of "Welcome Page" in "Look and Feel" classify to enter site welcome page manage page.

Then, we should click the button of "Browse..." to open a dialog window which can be used to do select a new page as our welcome page.

 

 

posted on   新西兰程序员  阅读(349)  评论(0编辑  收藏  举报

(评论功能已被禁用)
编辑推荐:
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示