开发者

PSD to SharePoint Templates

开发者 https://www.devze.com 2023-02-22 11:18 出处:网络
I require some help with “customized SharePoint templates”. Is there a way to convert a .PSD to a SharePoint template? I have experience with converting .PSD to Wordpress开发者_开发技巧 themes, but

I require some help with “customized SharePoint templates”. Is there a way to convert a .PSD to a SharePoint template? I have experience with converting .PSD to Wordpress开发者_开发技巧 themes, but can you do the same in SharePoint? Any good tutorials online?


You can create a SharePoint template by customizing a MasterPage

To get started create a minimal MasterPage: How to: Create a Minimal Master Page

Slice your PSD to HTML using the minimal MasterPage.

SharePoint MasterPages have multiple PlaceHolder controls for PageLayouts to insert content in specific parts of the MasterPage.

The key PlaceHolder for page specific content is PlaceHolderMain

Other placeholders that you may utilize in PageLayouts include:

  • PlaceHolderPageTitle for the page title (text within <head><title>[Page Title]</title>...</head>)
  • PlaceHolderAdditionalPageHead for additional CSS/JavaScript includes

MasterPage:

<asp:ContentPlaceHolder id="PlaceHolderMain" runat="server" />

PageLayout:

<asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
    ... <!-- page specific content, usually involving a WebPartManager -->
</asp:Content>

Additional Reading:

  • Heather's Base Master Page File for SharePoint 2007
  • How to Create a SharePoint Server 2007 Custom Master Page and Page Layouts for a Web Content Management Site
  • Real World Branding with SharePoint Server 2007 Publishing Sites (Part 1 of 2)
  • Real World Branding with SharePoint Server 2007 Publishing Sites (Part 2 of 2)
0

精彩评论

暂无评论...
验证码 换一张
取 消