[Zope] Referecing items in subfolders

Cornelis J. de Brabander brabander@fsw.LeidenUniv.nl
Tue, 14 Nov 2000 11:49:59 +0100


You could use:

<dtml-with resources>
<dtml-var standard_header>
</dtml-with>

I would suggest, however, to reorganize your design and to put index_html in
a subfolder of a folder where standard-header and standard_footer reside and
let acquisition take care of the work.
cb


> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
> Pieter Claerhout
> Sent: dinsdag 14 november 2000 10:52
> To: 'zope@zope.org'
> Subject: [Zope] Referecing items in subfolders
>
>
> Hello all,
>
> have a small question. Imagine you have the following folder
> structure in Zope:
>
> http://testserver.pclaerhout.com/index_html
> http://testserver.pclaerhout.com/resources/standard_header
> http://testserver.pclaerhout.com/resources/standard_footer
>
> How can I reference the standard_header document (which is in a
> subdirectory) from the index_html document, for example using a
> <dtml-var standard_header>?? I have the same question if the
> files in the subdirectory are for example SQL methods. I'm just
> looking for a way to separate different kinds of documents.
>
> Kind regards,
>
>
> Pieter
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>
>