Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.57 KB | None | 0 0
  1. <%@ Page language="C#" Inherits="Microsoft.SharePoint.Publishing.PublishingLayoutPage,Microsoft.SharePoint.Publishing,Version=14.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" meta:progid="SharePoint.WebPartPage.Document" meta:webpartpageexpansion="full" %>
  2. <%@ Register Tagprefix="SharePointWebControls" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
  3. <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
  4. <%@ Register Tagprefix="PublishingWebControls" Namespace="Microsoft.SharePoint.Publishing.WebControls" Assembly="Microsoft.SharePoint.Publishing, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
  5. <%@ Register Tagprefix="PublishingNavigation" Namespace="Microsoft.SharePoint.Publishing.Navigation" Assembly="Microsoft.SharePoint.Publishing, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
  6.  
  7. <asp:Content ContentPlaceholderID="PlaceHolderPageTitle" runat="server">
  8. <SharePointWebControls:FieldValue id="PageTitle" FieldName="Title" runat="server"/>
  9. </asp:Content>
  10.  
  11. <asp:Content ContentPlaceholderID="PlaceHolderMain" runat="server">
  12. <style type="text/css">
  13. .clearfix:before,
  14. .clearfix:after {
  15. content: " ";
  16. display: table;
  17. }
  18. .clearfix:after {
  19. clear: both;
  20. }
  21. .clearfix {
  22. *zoom: 1;
  23. }
  24.  
  25. .left {
  26. float: left;
  27. }
  28.  
  29. .wpzone-left {
  30. width: 80%;
  31. }
  32.  
  33. .wpzone-right {
  34. width: 20%;
  35. }
  36. }
  37. </style>
  38.  
  39.  
  40. <WebPartPages:SPProxyWebPartManager runat="server" id="spproxywebpartmanager"></WebPartPages:SPProxyWebPartManager>
  41. <div class="clearfix">
  42. <div>
  43. <WebPartPages:WebPartZone id="g_2B77BCE303404806BF11F38524B04EE7" runat="server" title="Header"><ZoneTemplate></ZoneTemplate></WebPartPages:WebPartZone>
  44. </div>
  45.  
  46. <div class="left wpzone-left">
  47. <WebPartPages:WebPartZone id="g_C32EE71D668842E594AFD1E9F51303EE" runat="server" title="Left"><ZoneTemplate></ZoneTemplate></WebPartPages:WebPartZone>
  48. </div>
  49. <div class="left wpzone-right">
  50. <WebPartPages:WebPartZone id="g_8A8EB2A8290D42719116F76F6AE01F59" runat="server" title="Right"><ZoneTemplate></ZoneTemplate></WebPartPages:WebPartZone>
  51. </div>
  52.  
  53. <div>
  54. <WebPartPages:WebPartZone id="g_72C6A932C0B74F1DBDD73839578FB477" runat="server" title="Footer"><ZoneTemplate></ZoneTemplate></WebPartPages:WebPartZone>
  55. </div>
  56. </div>
  57. </asp:Content>
  58.  
  59. <WebFeatures>
  60. <!-- Publishing -->
  61. <Feature ID="22A9EF51-737B-4ff2-9346-694633FE4416">
  62. <Properties xmlns="http://schemas.microsoft.com/sharepoint/">
  63. <Property Key="DefaultPageLayout" Value="~SiteCollection/_catalogs/masterpage/PageLayoutRecord.aspx"/>
  64. </Properties>
  65. </Feature>
  66.  
  67. <Modules>
  68. <Module Name="DefaultBlank" Url="" Path="">
  69. <File Url="default.aspx" NavBarHome="True" Type="Ghostable">
  70. <NavBarPage Name="$Resources:core,nav_Home;" Url="~site" ID="1002" Position="Start" />
  71. <AllUsersWebPart WebPartZoneID="Header"
  72. WebPartOrder="0">
  73. <![CDATA[
  74. <webParts>
  75. <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
  76. <metaData>
  77. ...
  78. etc
  79. ...
  80.  
  81. <File Url="default.aspx" Type="GhostableInLibrary">
  82. <Property Name="PublishingPageLayout" Value="~SiteCollection/_catalogs/masterpage/PageLayoutRecord.aspx, Record Page Layout" />
  83. </File>
  84.  
  85. <Property Name="ContentType" Value="{YOUR CONTENT TYPE HERE}" />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement