8 Oct
2003
8 Oct
'03
9:13 p.m.
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