Python and Zope

Lee Harr missive at frontiernet.net
Sun Oct 7 22:52:34 CEST 2001


> 
> I was more after an answer where you are composing a page with several 
> objects (sorry if I use the wrong notation I'm a newbie in Python and Zope) 
> like:
> 
><dtml-var standard_html_header>
><dtml-var zope_quick_start>
><dtml-var standard_html_footer>
> 
> But in my case I have some images, and script in various folders hence I 
> would like to do something like:
> 
><dtml-var includes/my_header>
><dtml-var images/my_picture>
><dtml-var includes/my_footer>
> 
> (But this syntax is wrong.)
> 


By using quotes around your dtml-var expression, you can specify
objects using python syntax, ie:

<dtml-var "includes.my_header">
<dtml-var "images.my_picture">
<dtml-var "includes.my_footer">

You should also check out the zope at zope.org mailing list for 
more and faster (!) assistance.
 



More information about the Python-list mailing list