[Zope] Linkmanagement ?

Christian Theune ct@gocept.com
Sat, 20 Apr 2002 20:36:42 +0200


Hmm. Late answer ... maybe still usefull (i am just catching up last the last weeks ;)

I am not sure i understood you, but if you want to retrieve the url of an object
you can use the absolute_url for that, like

 <a href="<dtml-var "myObject.absolute_url()">"> ...

or some page templates approach:

 <a attributes="here/myObject/absolute_url" />


Regards

Christian

* Mark Zimmermann <mark.zimmermann@web.de> [020322 04:40]:
> Hi,
> how could i make a perfect Linkmanagement ? I want to link
> contentobjects with other objects (like a href). Is there a way to make
> a linkmanagement? For example:
>  
> Object with ID has the URLs
> http://www.staerd.de/bild1.gif
> 
> 
> http://www.staerd.de/job/bild1.gif
>  
>  
> ???
>  
> or something like
>  
> ID 234234 = URL "relative URL" /bild1.gif" or "/job/bild1.gif" ?

-- 
Christian Theune - ct@gocept.com
gocept gmbh & co.kg - schalaunische strasse 6 - 06366 koethen/anhalt
tel.+49 3496 3099112 - fax.+49 3496 3099118 mob. - 0178 48 33 981

reduce(lambda x,y:x+y,[chr(ord(x)^42) for x in 'zS^BED\nX_FOY\x0b'])