Ulrike Ainser writes:
I am dealing with Zope for a week now. I try to learn how the tree tag works. Thereto I've got a question and maybe somebody on this = maillinglist can help me?! Welcome!
In the tree code of the Qickstart/index_html this code is given:
<IMG SRC=3D"<!--#var BASE2-->/Outline/OpenBook.gif" ALIGN=3D"TOP" = BORDER=3D"0"> What an old syntax. With modern syntax, this will look like:
<img src="&dtml-BASE2;/Outline/OpenBook.gib" ....>
Where do I find the definition of the variable BASE2? It is an attribute of the REQUEST object, documented in the embedded Zope help system:
Zope Help --> API Reference -> REQUEST.
Am I right that the variable contains a part of the path? You are!
I can recommend the Zope book (-> zope.org) and URL:http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html as background reading. Dieter
participants (1)
-
Dieter Maurer