Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I try to remove page title with addin the "Visible="false"".

<SharePoint:AjaxDelta id="DeltaPlaceHolderPageTitleInTitleArea" runat="server" Visible="false">
<asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea" runat="server">

but when I add it , it also make the visiblity of adding new app false. Is there another way to remove the title?

Here is where PlaceHolderPageTitleInTitleArea in master page is.

<div id="contentBox" class="ms-pub-contentLayout ms-verticalAlignTop" aria-live="polite" aria-relevant="all">
    <a id="mainContent" name="mainContent" tabindex="-1"></a>
    <h1 id="pageContentTitle" class="ms-belltown-pageName ms-noWrap ms-dialogHidden">
        <SharePoint:AjaxDelta id="DeltaPlaceHolderPageTitleInTitleArea" runat="server"  >
            <asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea" runat="server">
              <SharePoint:SPTitleBreadcrumb
                  runat="server"
                  RenderCurrentNodeAsLink="true"
                  SiteMapProvider="SPContentMapProvider"
                  WelcomePageUsesWebTitle="false">
                <PATHSEPARATORTEMPLATE>
                  <SharePoint:ClusteredDirectionalSeparatorArrow runat="server" />
                </PATHSEPARATORTEMPLATE>
              </SharePoint:SPTitleBreadcrumb>
            </asp:ContentPlaceHolder>
        </SharePoint:AjaxDelta>
    </h1>
    <SharePoint:AjaxDelta id="DeltaPlaceHolderMain" BlockElement="true" IsMainContent="true" runat="server" >
        <asp:ContentPlaceHolder id="PlaceHolderMain" runat="server" />
    </SharePoint:AjaxDelta>
</div>
share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

You are trying to hide the PlaceHolderPageTitleInTitleArea ContentPlaceHolder.

This PlaceHolder does not just hold the title, but certain other things as well.

Don't hide the placeholder in the master page. Rather create yourself a new Page Layout and hide whatever you dont want to see from the following within the PlaceHolder:

<asp:Content ContentPlaceholderID="PlaceHolderPageTitleInTitleArea" runat="server">
    <SharePointWebControls:UIVersionedContent UIVersion="3" runat="server">
        <ContentTemplate>
            <SharePointWebControls:TextField runat="server" id="TitleField" FieldName="Title"/>
        </ContentTemplate>
    </SharePointWebControls:UIVersionedContent>
    <SharePointWebControls:UIVersionedContent UIVersion="4" runat="server">
        <ContentTemplate>
            <SharePointWebControls:FieldValue FieldName="Title" runat="server"/>
        </ContentTemplate>
    </SharePointWebControls:UIVersionedContent>
</asp:Content>
share|improve this answer
    
When I add this code with or without Visible="false" it gives error. I didn't understand what you offer me to do. Why I have to put SharePointWebControls tags? There is nothing with SharePointWebControls tags. –  e.ozmen Jan 7 '13 at 7:10
    
The markup I shows below is not supposed to be placed in a Master page. This is markup for a Page Layout. Read more about Page Layouts/Master Pages here: msdn.microsoft.com/en-us/library/ms543497(v=office.14).aspx –  Fox Jan 7 '13 at 10:00
    
I created a new one and added what you wrote with Visible attribute. And I published it but nothing changed. So I found in a forum that says only add '<asp:Content ContentPlaceholderID="PlaceHolderPageTitleInTitleArea" runat="server" ></asp:Content>' into the page_layout but it didn't work too.. I read some forums and blogs but I can't find what I am missing. –  e.ozmen Jan 9 '13 at 9:07
    
I think the reason that my custom master page doesn't have a html page like oslo.master and oslo.html. Could it be the reason? –  e.ozmen Jan 9 '13 at 9:52
1  
If you dont want to display the Page Title on any pages, then remove the following from your master page: <SharePoint:SPTitleBreadcrumb runat="server" RenderCurrentNodeAsLink="true" SiteMapProvider="SPContentMapProvider" WelcomePageUsesWebTitle="false"> <PATHSEPARATORTEMPLATE> <SharePoint:ClusteredDirectionalSeparatorArrow runat="server" /> </PATHSEPARATORTEMPLATE> </SharePoint:SPTitleBreadcrumb> –  Fox Jan 9 '13 at 11:29
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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