The base masterpage includes them all. But you're right, it's far safer to move
them all to the bottom of a page and wrap them in a hidden panel. Just hiding
them in place makes modifying the layout very tricky indeed.
<asp:Panel Visible="false" runat="server">
<asp:ContentPlaceHolder id="PlaceHolderTitleRightMargin"
runat="server"/>
...
</asp:Panel>
From: [email protected] [mailto:[email protected]] On Behalf Of Chris Milne
Sent: Thursday, 30 July 2009 11:48 AM
To: [email protected]
Subject: RE: Site Description appears on all pages
I think SP needs all its placeholder's somewhere on the page just to be able to
render the page, don't they? I recall if you remove required placeholders, the
page won't compile. Is there a certain set of placeholders that are required
and some that are optional? PlaceHolderPageDescription I imagine would be
optional?
Kind regards,
Chris Milne
From: [email protected] [mailto:[email protected]] On Behalf Of Daniel Brown
Sent: Thursday, 30 July 2009 11:40 AM
To: [email protected]
Subject: RE: Site Description appears on all pages
No, as that placeholder is already there. If you want to hide it, just add
Visable="false" to the html : <asp:ContentPlaceHolder
id="PlaceHolderPageDescription" runat="server" Visable="false" />
From: [email protected] [mailto:[email protected]] On Behalf Of ken zheng
Sent: Thursday, 30 July 2009 11:07 AM
To: [email protected]
Subject: RE: Site Description appears on all pages
I can see there is a <asp:ContentPlaceHolder id="PlaceHolderPageDescription"
runat="server"/> on the masterpage ,so can I replace it with
"PlaceHolderPageTitle"?
________________________________
Date: Thu, 30 Jul 2009 11:02:35 +0930
From: [email protected]<mailto:[email protected]>
Subject: RE: Site Description appears on all pages
To: [email protected]<mailto:[email protected]>
I have searched master page but can't find line with ... ProjectProperty
Property="Description" ...
which ContentPlaceHolder is it in?
Thanks
Ken
________________________________
Date: Thu, 30 Jul 2009 10:44:09 +0930
From: [email protected]<mailto:[email protected]>
Subject: RE: Site Description appears on all pages
To: [email protected]<mailto:[email protected]>
The general rule of thumb is to never edit OOTB files, it can came back to bite
you in the behind pretty hard, especially with updates and service pack.
I would ghost the master page (or use a custom one).
If you want to hide it, I'd do something like: <SharePoint:ProjectProperty
Property="Description" runat="server" Visable="false"/>
To answer your other question of how to replace it with the title, the
following HTML will do it:
<SharePoint:ProjectProperty Property="Title" runat="server" />
-DB
From: [email protected] [mailto:[email protected]] On Behalf Of Paul Noone
Sent: Thursday, 30 July 2009 10:29 AM
To: [email protected]
Subject: RE: Site Description appears on all pages
For WSS sites you can either unghost the master or delete it as required for
each page:
<tr>
<td class="ms-webpartpagedescription">
<SharePoint:ProjectProperty Property="Description" runat="server"/>
</td>
</tr>
From: [email protected] [mailto:[email protected]] On Behalf Of Paul Noone
Sent: Thursday, 30 July 2009 10:53 AM
To: [email protected]
Subject: RE: Site Description appears on all pages
Ken, are you referring to WSS site templates only?
If you use a custom master you can just remove the placeholder or replace it
with the page description.
From: [email protected] [mailto:[email protected]] On Behalf Of ken zheng
Sent: Thursday, 30 July 2009 10:45 AM
To: [email protected]
Subject: Site Description appears on all pages
Hi Guys:
Just wonder if anyone has a simple way to remove the site description or
replace it with site name?
Right now he description appears on every single page. This is incredibly
annoying when the description tends to be rather lengthy.
The solution I found is to modify files under
C:\Program Files\Common Files\Microsoft Shared\Web Server
Extensions\12\TEMPLATE\1033\STS\DOCTEMP\SMARTPGS
Cheers
Ken
________________________________
Support procedure: https://www.codify.com/lists/support
List address: [email protected]<mailto:[email protected]>
Subscribe: [email protected]<mailto:[email protected]>
Unsubscribe: [email protected]<mailto:[email protected]>
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists
________________________________
Support procedure: https://www.codify.com/lists/support
List address: [email protected]<mailto:[email protected]>
Subscribe: [email protected]<mailto:[email protected]>
Unsubscribe: [email protected]<mailto:[email protected]>
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists
________________________________
Support procedure: https://www.codify.com/lists/support
List address: [email protected]<mailto:[email protected]>
Subscribe: [email protected]<mailto:[email protected]>
Unsubscribe: [email protected]<mailto:[email protected]>
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists
________________________________
Support procedure: https://www.codify.com/lists/support
List address: [email protected]<mailto:[email protected]>
Subscribe: [email protected]<mailto:[email protected]>
Unsubscribe: [email protected]<mailto:[email protected]>
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists
________________________________
Support procedure: https://www.codify.com/lists/support
List address: [email protected]<mailto:[email protected]>
Subscribe: [email protected]<mailto:[email protected]>
Unsubscribe: [email protected]<mailto:[email protected]>
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists
________________________________
Support procedure: https://www.codify.com/lists/support
List address: [email protected]<mailto:[email protected]>
Subscribe: [email protected]<mailto:[email protected]>
Unsubscribe: [email protected]<mailto:[email protected]>
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists
________________________________
Support procedure: https://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists
________________________________
Support procedure: https://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists
--------------------------------------------------------------------------------
Support procedure: http://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists