Thursday, April 5, 2012

a great SharePoint blog

http://www.ahmadkhalaf.com/ahmadkhalaf/blog/?p=90
minimal master page in SharePoint
and here is a very good article


<%@ Master language=”C#” %>
http://www.w3.org/TR/html4/loose.dtd“>
<%@ Import Namespace=”Microsoft.SharePoint” %>
<%@ Register Tagprefix=”SharePoint” Namespace=”Microsoft.SharePoint.WebControls” Assembly=”Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c” %>
<%@ Register Tagprefix=”Utilities” Namespace=”Microsoft.SharePoint.Utilities” Assembly=”Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c” %>
<%@ Register Tagprefix=”WebPartPages” Namespace=”Microsoft.SharePoint.WebPartPages” Assembly=”Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c” %>
<%@ Register TagPrefix=”wssuc” TagName=”Welcome” src=”~/_controltemplates/Welcome.ascx” %>
<%@ Register TagPrefix=”wssuc” TagName=”DesignModeConsole” src=”~/_controltemplates/DesignModeConsole.ascx” %>
” runat=”server” xmlns:o=”urn:schemas-microsoft-com:office:office” __expr-val-dir=”ltr”>
<%– The head section includes a content placeholder for the page title and links to CSS and JavaScript files that run on the server. –%>
 </p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 10px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 12px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; line-height: 21px; color: rgb(109, 110, 110); font-family: Arial, Verdana, sans-serif; ">  <asp:ContentPlaceHolder id=”PlaceHolderPageTitle” runat=”server” /></p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 10px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 12px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; line-height: 21px; color: rgb(109, 110, 110); font-family: Arial, Verdana, sans-serif; "> 

” id=”SiteActionsMenuMain” PrefixHtml=”<div><div>” SuffixHtml=”</div></div>” MenuNotVisibleHtml=”&nbsp;”>
            
            
              FeatureScope=”Site”
              Location=”Microsoft.SharePoint.StandardMenu”
              GroupId=”SiteActions”
              UseShortId=”true”
              >
             
               Text=”<%$Resources:wss,viewlsts_pagetitle_create%>”
               Description=”<%$Resources:wss,siteactions_createdescription%>”
               ImageUrl=”/_layouts/images/Actionscreate.gif”
               MenuGroupId=”100″
               Sequence=”100″
               UseShortId=”true”
               ClientOnClickNavigateUrl=”~site/_layouts/create.aspx”
               PermissionsString=”ManageLists, ManageSubwebs”
               PermissionMode=”Any” />
             
               Text=”<%$Resources:wss,siteactions_editpage%>”
               Description=”<%$Resources:wss,siteactions_editpagedescription%>”
               ImageUrl=”/_layouts/images/ActionsEditPage.gif”
               MenuGroupId=”100″
               Sequence=”200″
               ClientOnClickNavigateUrl=”javascript:MSOLayout_ChangeLayoutMode(false);”
               />
             
               Text=”<%$Resources:wss,settings_pagetitle%>”
               Description=”<%$Resources:wss,siteactions_sitesettingsdescription%>”
               ImageUrl=”/_layouts/images/ActionsSettings.gif”
               MenuGroupId=”100″
               Sequence=”300″
               UseShortId=”true”
               ClientOnClickNavigateUrl=”~site/_layouts/settings.aspx”
               PermissionsString=”EnumeratePermissions,ManageWeb,ManageSubwebs,AddAndCustomizePages,ApplyThemeAndBorder,ManageAlerts,ManageLists,ViewUsageData”
               PermissionMode=”Any” />
            
            
           

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 



No comments: