在SharePoint Online中使用Design Manager创建自定义页面布局的问题 [英] Issue with creating custom Page Layout using Design Manager in SharePoint Online
本文介绍了在SharePoint Online中使用Design Manager创建自定义页面布局的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我正在创建SharePoint Online品牌网站.母版页和其他页面需要响应.我指的是 Pro SharePoint 2013品牌和响应式Web开发手册.但是,我在创建自定义页面布局时陷入困境.我遵循以下方法:
I am working on creating a SharePoint Online branding site. The master pages and other pages need to be responsive. I am referring to Pro SharePoint 2013 Branding and Responsive Web Development book for this. However, I am stuck in while creating custom Page Layouts. I have followed below approach:
- 创建了
自定义内容类型,如下所示:
- 使用Design Manager定制页面布局 我有一个名为Community Property.html的HTML模型,我想将此页面转换为SharePoint页面布局.去
到设计管理器,请从左6 编辑页面布局,单击"创建页面布局"
- Created a
custom content type as follows:
- Custom Page Layouts with Design Manager I have a HTML mock up called Community Property.html and I would like to convert this page as SharePoint Page Layout. Went
to Design Manager, 6 Edit Page Layouts from left, clicked "Create a page layout"
- 但是在Designer Manager中,我同时获得了 两者 母版页(尽管我都删除了
SharePoint Designer 2013中的 PlaceHolderTopNavBar 和 PlaceHolderPageTitleInTitleArea .
任何建议或指示,将不胜感激.
SharePoint页面布局(Community_Property_SharePoint_Page_Layout.html)可用 这里.
并在此处显示了HTML模拟的相应SharePoint页面: - But in Designer Manager, I am getting both Master page (although I removed both
PlaceHolderTopNavBar and PlaceHolderPageTitleInTitleArea from the "Community_Property.html ) and Page Layout HTML code in SharePoint Designer 2013.
Any suggestions or pointers will highly be appreciated.
SharePoint Page Layout (Community_Property_SharePoint_Page_Layout.html ) is available here.
and HTML mock up corresponding SharePoint page is shown here:
桑迪
推荐答案
页面布局和母版页都具有相同的内容占位符集,以呈现页面布局正确.
在页面布局中,您可以将占位符控件的可见标签设置为false,以便在母版页.
<asp:ContentPlaceHolder id="PlaceHolderTopNavBar " runat="server" Visible="false" />
最好的问候,
Linda Zhang
这篇关于在SharePoint Online中使用Design Manager创建自定义页面布局的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文