转载 SharePoint 2013配置Master Page and Page Layout
转载原地址: http://www.cnblogs.com/huangjianwu/p/4539706.html
涉及到的内容是关于SharePoint 2013如何部署自定义的母版页和布局页。
- 进入到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.
- Deploy a series of wsp package files which include "Custom_TopNavigation.wsp" and "Custom_MasterPageAndPageLayout.wsp".
- 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.
- 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.
- 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.
- 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.
- 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.
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律