[Zope] Render DTML Document title inside another DTML Document in parent folder
Ping Lau
pinglau@tm.net.my
Sun, 3 Oct 1999 02:01:47 -0500
This is a multi-part message in MIME format.
------=_NextPart_000_000F_01BF0D43.3FF5B360
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Is there a way to reference a DTML Document's title in the folder =
2-level deep from another DTML Document in the parent folder? The =
hierarchy looks like this:
FolderA
Doc1
FolderB
FolderC
Doc2
FolderA contains DTML Document Doc1 & FolderB. FolderB contains =
FolderC. FolderC contains DTML Document Doc2. Doc1 is called from Doc2 =
using
<dtml-var Doc1>
In Doc1, I want to display Doc2's title. I tried <dtml-var title>. But =
it rendered Doc1's title instead of Doc2's title. How can I render =
Doc2's title?
Regards,
Ping
------=_NextPart_000_000F_01BF0D43.3FF5B360
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV> </DIV>
<DIV><FONT color=3D#000000 size=3D2>Is there a way to reference a DTML =
Document's=20
title in the folder 2-level deep from another DTML Document in the =
parent=20
folder? The hierarchy looks like this:</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2>FolderA</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2> Doc1</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2> FolderB</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT><FONT =
size=3D2> =20
FolderC</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2> =
Doc2</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2>FolderA contains DTML Document Doc1 =
&=20
FolderB. FolderB contains FolderC. FolderC contains DTML =
Document=20
Doc2. Doc1 is called from Doc2 using</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2> </FONT><FONT =
size=3D2><dtml-var=20
Doc1></FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT color=3D#000000 size=3D2>In Doc1, I want to display Doc2's =
title. I=20
tried <dtml-var title>. But it rendered Doc1's title instead =
of=20
Doc2's title. How can I render Doc2's title?</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Regards,</FONT></DIV>
<DIV><FONT size=3D2>Ping</FONT></DIV>
<DIV> </DIV></BODY></HTML>
------=_NextPart_000_000F_01BF0D43.3FF5B360--