我需要一些关于“定制SharePoint模板”的帮助。有办法将.PSD转换为SharePoint模板吗?我有将.PSD转换为Wordpress主题的经验,但您能在SharePoint中这样做吗?网上有什么好的教程吗?
发布于 2011-04-05 16:41:49
您可以通过自定义SharePoint MasterPage来创建MasterPage模板。
首先,创建一个最小的MasterPage:如何:创建最小母版页
使用最小的MasterPage将您的PSD切片到HTML。
SharePoint MasterPages有多个PlaceHolder控件,用于PageLayouts在MasterPage的特定部分中插入内容。
页面特定内容的键PlaceHolder是PlaceHolderMain。
您可以在PageLayouts中使用的其他占位符包括:
PlaceHolderPageTitle用于页面标题(<head><title>[Page Title]</title>...</head>中的文本)PlaceHolderAdditionalPageHead包括MasterPage:
<asp:ContentPlaceHolder id="PlaceHolderMain" runat="server" />PageLayout:
<asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
... <!-- page specific content, usually involving a WebPartManager -->
</asp:Content>补充阅读:
https://stackoverflow.com/questions/5555126
复制相似问题