[Zope] Refrencing.

Jason C. Leach jleach@mail.ocis.net
Fri, 3 Nov 2000 16:29:25 -0800 (PST)


hi,

Ya. I'm developing a site (area really) for a client that must
automatically detect all images, displaying only thumbnale images, which
get linked to the large size.  Once I get referencing down, it should be
OK.

j.

......................
..... Jason C. Leach
... University College of the Cariboo.
.. 

On Fri, 3 Nov 2000, Andy McKay wrote:

> <dtml-var x> gives you the object if sequence-item was actually an object.
> 
> Is there something else you are tyring to do like get the url to the object
> for an image tag? in that case try <dtml-var "x.absolute_url()">, <untested>
> but since let also pops onto the namespace <dtml-var absolute_url> should
> also work</untested>.
> 
> ----- Original Message -----
> From: "Jason C. Leach" <jleach@mail.ocis.net>
> To: <zope@zope.org>
> Sent: Thursday, November 02, 2000 9:52 PM
> Subject: [Zope] Refrencing.
> 
> 
> > hi,
> >
> > if I do something like:
> >
> > <dtml-let x=sequence-item>
> >
> > What is the sintax to refrence that object?
> > <img src=<dtml-var x.id>
> > ?
> >
> > Thanks,
> > j.
> >
> > ......................
> > ..... Jason C. Leach
> > ... University College of the Cariboo.
> > ..
> >
> >
> > _______________________________________________
> > 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 )
> >
> 
>