[Zope] url object?
Ulrich Wisser
liste at publisher.de
Wed Oct 8 17:13:21 EDT 2003
Hello Kai,
>> Objects have an absolute_url method that will give their full URL.
>>
>> <dtml-var "someobject.absolute_url()">
> this does work if someobject is in the same folder as the actual page. But
> if I use it one level above the current directory I get an error:
of course!
Put your application in it's own folder. Don't use Zope's
root folder for any of your objects. Then use the full path
to the object like
<dtml "project.subfolder.subsubfolder.someobject.absolute_url()">
Hope it helps
Ulrich
More information about the Zope
mailing list