[Zope] here/Title returns too much -- doc name and status
James Hazard
james.hazard@commonaccord.com
Thu, 13 Jun 2002 22:46:51 -0400
This is a multi-part message in MIME format.
------=_NextPart_000_0023_01C2132C.35410EA0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
I'm working in CMF, customizing main_template. I'm simplifying the
presentation and want to show only the document name and not its status
(Created by jgh. Last modified 2002-06-13 17:20:41.) In my slash and burn
way, I've narrowed this down to the following bit of code, which produces
the Page Title as expected and desired, but throws in the status:
<div metal:define-slot="header">
<h1 id="DesktopTitle"
tal:content="here/Title"> Page Title </h1>
</div>
Any ideas why?
------=_NextPart_000_0023_01C2132C.35410EA0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D057193802-14062002><FONT face=3DArial size=3D2>I'm =
working in CMF,=20
customizing main_template. I'm simplifying the presentation and =
want to=20
show only the document name and not its status (Created by jgh. =
Last=20
modified 2002-06-13 17:20:41.) In my slash and burn way, I've =
narrowed=20
this down to the following bit of code, which produces the Page Title as =
expected and desired, but throws in the =
status: </FONT></SPAN></DIV>
<DIV><SPAN class=3D057193802-14062002><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D057193802-14062002><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D057193802-14062002><FONT face=3DArial =
size=3D2><div=20
metal:define-slot=3D"header"></FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><SPAN class=3D057193802-14062002><FONT face=3DArial =
size=3D2> <h1=20
id=3D"DesktopTitle"<BR> =20
tal:content=3D"here/Title"> Page Title =
</h1><BR></div><BR> =20
</FONT></SPAN></DIV>
<DIV><SPAN class=3D057193802-14062002><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D057193802-14062002><FONT face=3DArial =
size=3D2>Any ideas=20
why?</FONT></SPAN></DIV>
<DIV><SPAN class=3D057193802-14062002><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D057193802-14062002><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV></BODY></HTML>
------=_NextPart_000_0023_01C2132C.35410EA0--