[Zope-CMF] portaltitle:portaltitle ?? -- silly!
marc lindahl
marc@bowery.com
Tue, 31 Jul 2001 03:19:01 -0400
I always thought it was silly that at the root (home) of your portal the
name (title) would appear twice in the top bar... now I did something about
it.
>From about line 19 of standard_top_bar.dtml, the stanza for the PortalTitle
changes to:
<td class="PortalTitle" width="29%" align="left"
valign="center">
<h1><dtml-with portal_properties>&dtml-title;</dtml-with
><dtml-if "_.hasattr(this().aq_parent, 'portal_url')">
<dtml-if name="Title">: &dtml-Title;</dtml-if></dtml-if></h1>
</td>
(basically, code from folder_contents.dtml)