[Zope] DTML list objects in different directory
Maik Jablonski
maik.jablonski@uni-bielefeld.de
Tue, 13 Aug 2002 16:12:51 +0200
hi,
something like will do:
<dtml-in expr="
folder1.subfolder1.objectValues('DTML Document') +
folder1.subfolder2.subsubfolder4.objectValues('DTML Document') +
folder2.objectValues('DTML Document') +
">
<dtml-var title_or_id></a>
</dtml-in>
think of folder1.subfolder1 and so on as the "python-paths" to the
directories you want to include...
cheers, maik
Kevin Sullivan wrote:
> Hi,
>
> Whats the best way to run this code, but for objects in a
> different directory?
>
> <ul>
> <dtml-in expr="objectValues('DTML Document')">
> <li><a href="&dtml-absolute_url;"><dtml-var
> title_or_id></a></li>
> </dtml-in>
> </ul>