MOSS 中 MasterPage 里面所有占位符列表

下面列出了sharepoint的母版页中定义的所有占位符:(详细位置请对照default.master)
1 < asp:ContentPlaceHolderID = " PlaceHolderGlobalNavigationSiteMap " runat = " server " />
放置连接到顶级站点的超连接
2 < asp:ContentPlaceHolderID = " PlaceHolderGlobalNavigation " runat = " server " />
放置顶部一行内容。
3 < asp:ContentPlaceHolderID = " PlaceHolderSiteName " runat = " server " />
放置站点名称
4 < asp:ContentPlaceHolderID = " PlaceHolderSearchArea " runat = " server " />
放置搜索框
5 < asp:ContentPlaceHolderID = " PlaceHolderHorizontalNav " runat = " server " />
放置水平导航栏
6 < asp:ContentPlaceHolderID = " PlaceHolderTopNavBar " runat = " server " />
放置水平导航栏一行内容。
7 < asp:ContentPlaceHolderID = " WSSDesignConsole " runat = " server " />
页面编辑控件,当页面进入编辑页面模式时使用(当我们点SiteActions,EditPage后)
8 < asp:ContentPlaceHolderID = " SPNavigation " runat = " server " />
在WindowsSharePointServices中默认为空,用于附加的页面编辑控件
9 < asp:ContentPlaceHolderID = " PlaceHolderPageImage " runat = " server " />
左侧的图片
10 < asp:ContentPlaceHolderID = " PlaceHolderTitleLeftBorder " runat = " server " />
Title区左侧边框
11 < asp:ContentPlaceHolderID = " PlaceHolderTitleBreadcrumb " runat = " server " />
TitleBreadcrumb页面导航区
12 < asp:ContentPlaceHolderID = " PlaceHolderPageTitleInTitleArea " runat = " server " />
Breadcrumb区下面的标题
13 < asp:ContentPlaceHolderID = " PlaceHolderMiniConsole " runat = " server " />
一个放置页面级命令的地方,比如在WIKI站点里的EditPage,History,IncomingLinks
14 < asp:ContentPlaceHolderID = " PlaceHolderTitleRightMargin " runat = " server " />
Title区右侧空白
15 < asp:ContentPlaceHolderID = " PlaceHolderTitleAreaSeparator " runat = " server " />
TitleAreaSeparator区
16 < asp:ContentPlaceHolderID = " PlaceHolderLeftNavBarDataSource " runat = " server " />
左侧导航区数据源
17 < asp:ContentPlaceHolderID = " PlaceHolderCalendarNavigator " runat = " server " />
在页面中有日历时为其显示一个日期选择框
18 < asp:ContentPlaceHolderID = " PlaceHolderLeftNavBarTop " runat = " server " />
左侧导航区上面的导航区
19 < asp:ContentPlaceHolderID = " PlaceHolderLeftNavBar " runat = " server " />
左侧导航区
20 < asp:ContentPlaceHolderID = " PlaceHolderLeftActions " runat = " server " />
左侧导航区下面的动作区
21 < asp:ContentPlaceHolderID = " PlaceHolderNavSpacer " runat = " server " />
左侧导航区的宽度
22 < asp:ContentPlaceHolderID = " PlaceHolderLeftNavBarBorder " runat = " server " />
左侧导航区的边框元素
23 < asp:ContentPlaceHolderID = " PlaceHolderBodyLeftBorder " runat = " server " />
页面body的边框元素
24 < asp:ContentPlaceHolderid = " PlaceHolderPageDescription " runat = " server " />
页面描述区
25 < asp:ContentPlaceHolderid = " PlaceHolderMain " runat = " server " />
页面主体
26 < asp:ContentPlaceHolderID = " PlaceHolderBodyRightMargin " runat = " server " />
页面body的右边空白
27 < asp:ContentPlaceHolderID = " PlaceHolderFormDigest " runat = " server " />
这是页面中必备的
" formdigest " 安全组件。
28 < asp:ContentPlaceHolderID = " PlaceHolderUtilityContent " runat = " server " />
页面底部需要的一块特殊内容
29 < asp:ContentPlaceHolderID = " PlaceHolderBodyAreaClass " runat = " server " />
附加在页面顶部的body中的样式
30 < asp:ContentPlaceHolderID = " PlaceHolderTitleAreaClass " runat = " server " />
TitleArea附加的样式
31 < asp:ContentPlaceHolderid = " PlaceHolderAdditionalPageHead " runat = " server " />
提供给内容页添加所有可以放在
< head > 区域的内容,如CSS、JS等。

你可能感兴趣的:(css,asp,SharePoint)