创建通用母版页 [英] Creating generic Master Pages

查看:106
本文介绍了创建通用母版页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们将在我们的组织中托管最新版本的SharePoint Online。应该为所有部门/子单元设置多个网站集。


想知道创建母版页的最佳方法是什么:设计器或在Visual Studio中创建解决方案(wsp文件)?任何链接或示例代码都会有所帮助。


谢谢。



Mayank


解决方案

嗨Mayank,


您可以创建一个网站集,所有部门/子单元的多个子站点。


为网站集创建一个母版页,所有子站点都继承该母版页。


我们可以使用Design Manager处理母版页,页面布局和显示模板。以下文章供您参考。


https://github.com/SharePoint/sp-dev-docs/blob/master/docs/general-development/ master-pages-the-master-page-gallery-and-page-layouts-in-sharepoint.md


对于SharePoint Online品牌推广,我建议你按照官方文档实现它。


SharePoint Online门户网站的品牌推广指南


https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/portal-branding


最好的问候,


Dennis



We will be hosting latest version of SharePoint Online in our organization. Shall have several site collections for all departments/sub units.

Wondering what would be the best way to create Master Pages: Designer or create a solution (wsp file) in Visual Studio? Any links or sample code would help.

Thanks.

Mayank

解决方案

Hi Mayank,

You can create one site collection and multiple sub sites for all departments/sub units.

Create a master page for site collection and all the sub sites inherit this master page.

We can use Design Manager to work with master pages, page layouts, and display templates. The following article for your reference.

https://github.com/SharePoint/sp-dev-docs/blob/master/docs/general-development/master-pages-the-master-page-gallery-and-page-layouts-in-sharepoint.md

For SharePoint Online branding, I suggest you follow the official document below to achieve it.

Branding guidance for SharePoint Online portals

https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/portal-branding

Best Regards,

Dennis


这篇关于创建通用母版页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆