[Zope-CMF] portaltitle:portaltitle ?? -- silly!

Andrew Sawyers Andrew Sawyers" <andrew@zope.com
Tue, 31 Jul 2001 08:10:55 -0700


I've actually pulled this completely from the ZPT based skins; it get's
moved down onto the content item.  The only content item that's been updated
is the document; the rest are coming.
Andrew
----- Original Message -----
From: "marc lindahl" <marc@bowery.com>
To: <zope-cmf@zope.org>
Sent: Tuesday, July 31, 2001 12:19 AM
Subject: [Zope-CMF] portaltitle:portaltitle ?? -- silly!


> 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)
>
>
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
requests
>