3

i have wikipage defined in site pages. And when i click Edit Page -> Title Bar Properties nothing happens. I try this two things:

link one, link two

In my sitepage there is this:

<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
    <SharePoint:EncodedLiteral runat="server" text="my title" EncodeMethod="HtmlEncode"/> - 
    <SharePoint:ProjectProperty Property="Title" runat="server"/>
</asp:Content>

My title is now "my title". But i want to allow edit this title to admins of web through Title Bar Properties button and not through the sharepoint designer. Any ideas how to do this? Thank you.

Cospel
  • 493
  • 1
  • 14
  • 32

1 Answers1

0

You need to insert an SharePoint:ListItemProperty linking to the title property instead of an EncodedLiteral (which is static in this case).

So in your case you should change your Wiki page template to this:

<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
    <SharePoint:ListItemProperty Property="Title" runat="server" />
</asp:Content>

I wrote an article about that some time ago in the TechNet wiki.