[Zope] Newbie URL problem

Frank Tegtmeyer fte@lightwerk.com
18 Feb 2002 09:08:57 +0100


Hardy Beltran Monasterios <hardy@acm.org> writes:

> 1 click -> http://www/cgi-bin/Zope/mysite/event/past.html
> 2 click -> http://www/cgi-bin/Zope/mysite/event/event/past.html
> 3 click -> http://www/cgi-bin/Zope/mysite/event/event/past.html

> Can any body explain me what=B4s the problem ?

You are using relative links in your pages. You may fix them with the
absolute_url() method of the referenced objects.

Example:

<a href=3D"<dtml-var expr=3D"_['past.html'].absolute_url()">">

(not tested - I don't use names with dots inside).

Regards, Frank
--=20
CTO   fte@Lightwerk.com         http://www.Lightwerk.com/
Fax: +49-2434-80 07 94           Phone: +49-2434-80 07 81
Lightwerk GmbH * An der Kull 11 * 41844 Wegberg * Germany
Besuchen Sie uns auf der CeBIT:  Halle 6, Stand F68 / 595