質問

誰かがWebパーツゾーン(SP2013 HTMLページレイアウト内)を与える正しい方法を知っています(HTMLページレイアウト)素敵な人間の読みやすいタイトル?

次のスニペットを使用しました:

<div data-name="WebPartZone">
    <!--CS: Start Web Part Zone Snippet-->
    <!--SPM:<%@Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <div xmlns:ie="ie">
        <!--MS:<WebPartPages:WebPartZone runat="server" DisplayTitle="Sidebar" AllowPersonalization="false" ID="x9f20386d0c5648cc8fca09e815f2a754" FrameType="TitleBarOnly" Orientation="Vertical">-->
            <!--MS:<ZoneTemplate>-->
                <!--DC: Replace this comment with default web parts for new pages. -->
            <!--ME:</ZoneTemplate>-->
        <!--ME:</WebPartPages:WebPartZone>-->
    </div>
    <!--CE: End Web Part Zone Snippet-->
</div>
.

表示されているように、プロパティDisplayTitleを "サイドバー"に設定しましたが、機能しません。このようなページ上のタイトルをレンダリングするだけです。ゾーン1、ゾーン2、...

これは正しい財産ではありませんか?

役に立ちましたか?

解決

下図のように「タイトル」を使用できるはずです。

<!--MS:<WebPartPages:WebPartZone runat="server" Title="Sidebar" AllowPersonalization="false" ID="x9f20386d0c5648cc8fca09e815f2a754" FrameType="TitleBarOnly" Orientation="Vertical">-->
.

ライセンス: CC-BY-SA帰属
所属していません sharepoint.stackexchange
scroll top