[Zope] Referencing object in other folders
Roché Compaan
roche@up-front.co.za
Wed, 13 Oct 1999 17:22:20 +0200
> Roché Compaan wrote:
>
> > I have the following folder structure
> >
> > / (Root folder)
> > --Images (folder)
> >
> > I simply reference images in the images folder by using:
> > <dtml-with Images>
> > <dtml-var myimage>
> > </dtml-with>
> >
> > Isn't there a shorter way to address objects in other folders?
>
>
> You think that's long? Looks pretty short to me. If you want it even
> shorter you can make a DTML method that contains your snippet, and then
> call the method:
>
> <dtml-var theWrapperMethod>
How do i tell the wrapper method to render a specific image in the images
folder or how do i pass a variable to that wrapper?
Roché Compaan