2

Is it possible to modify the v4.master on SP2010 so that the site title displays without a link? Here's the element from the master page:

<td class="s4-titletext">
  <h1 name="onetidProjectPropertyTitle">
      <SharePoint:SPLinkButton runat="server" NavigateUrl="~site/" 
         id="onetidProjectPropertyTitle"><SharePoint:ProjectProperty Property="Title" 
         runat="server" /></SharePoint:SPLinkButton>
    </asp:ContentPlaceHolder>
  </h1>
  ....
</td>

In other words, can the title be displayed as an <asp:Label> or something else? Thanks.

2
  • 2
    Figured it out: Just need to remove the SPLinkButton and it works like a charm.
    – Alex C
    Oct 26, 2011 at 12:07
  • 2
    Great! Thank you for your question and the answer. Maybe you can post it as answer so you can accept. Oct 26, 2011 at 12:57

1 Answer 1

3

Here's one solution:

<td class="s4-titletext">
  <h1 name="onetidProjectPropertyTitle">
    <SharePoint:ProjectProperty Property="Title" 
         runat="server" />
    </asp:ContentPlaceHolder>
  </h1>
  ....
</td>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.