如何向SharePoint 2010徽标/标题区域添加动态描述

如何向SharePoint 2010徽标/标题区域添加动态描述,sharepoint,sharepoint-2010,Sharepoint,Sharepoint 2010,我正在SP2010网站主模板上工作。我想从网站设置->标题,描述和图标显示在标题区的信息。我可以得到标题,以显示整个网站的标志,但是,当我去说,例如图书馆的描述变化 如果我尝试使用此选项: <div class="s4-pagedescription" tabindex="0" > <asp:ContentPlaceHolder id="PlaceHolderPageDescription" runat="server"> </asp:ContentPlaceH

我正在SP2010网站主模板上工作。我想从网站设置->标题,描述和图标显示在标题区的信息。我可以得到标题,以显示整个网站的标志,但是,当我去说,例如图书馆的描述变化

如果我尝试使用此选项:

<div class="s4-pagedescription" tabindex="0" >
  <asp:ContentPlaceHolder id="PlaceHolderPageDescription" runat="server"> </asp:ContentPlaceHolder>
</div>
…当我进入一个列表或子部分时,它会发生变化。。。我希望在站点设置中找到的描述成为确定站点描述

<table class="s4-titletable" cellspacing="0">
  <tbody>
    <tr>
      <td class="s4-titlelogo"><SharePoint:SPLinkButton runat="server" NavigateUrl="~site/" id="onetidProjectPropertyTitleGraphic">
          <SharePoint:SiteLogoImage name="onetidHeadbnnr0" id="onetidHeadbnnr2" LogoImageUrl="/Style Library/fsimages/logo.png" runat="server"/>
        </SharePoint:SPLinkButton></td>
      <td class="s4-titletext"><h1> 
          <!-- This is giving me the Title across the site no problem --->
          <asp:SiteMapPath runat="server" id="SiteMapPath1"></asp:SiteMapPath>
        </h1>
        <br/>

        <!-- HOW DO I GET THIS DESCRPTION DYNAMICALLY? -->

        <h2>(replace this with code to get description)</h2></td>
      <td class="s4-socialdata-notif"><SharePoint:DelegateControl ControlId="GlobalSiteLink3" Scope="Farm" runat="server"/></td>
    </tr>
  </tbody>
</table>

谢谢

我不确定它在母版页中是否有效,但在页面布局中,我曾经使用过ProjectProperty标记

<asp:Content ID="Content1" ContentPlaceHolderId="PlaceHolderMain" runat="server">
<h1>
        Welcome to site: <SharePoint:ProjectProperty runat="server" Property="Title"> </SharePoint:ProjectProperty>!
</h1>
</asp:Content>

我想你可以用Description替换标题,我不确定它在母版页中是否有效,但在页面布局中,我曾经使用过ProjectProperty标签

<asp:Content ID="Content1" ContentPlaceHolderId="PlaceHolderMain" runat="server">
<h1>
        Welcome to site: <SharePoint:ProjectProperty runat="server" Property="Title"> </SharePoint:ProjectProperty>!
</h1>
</asp:Content>
我想你可以用描述来代替标题