On Mon, 26 May 2003, Oliver Keller wrote:
Unfortunately this return line gives me an NameError: "global name 'absolute_url' is not defined".
Ok. I think i should add that i was using absolute_url in index_html to determine if index_html is called in the root folder or in a subfolder. Now I replaced the ugly absolute_url check with and bypathed acquisition with this in index_html: <dtml-if "'startpage' in objectIds()"> <dtml-var startpage> <dtml-else> <dtml-var standard_html_header> <dtml-var menu> <dtml-var content> <dtml-var slogan> ... And when I now call a script in some subfolder with this return line: return context.index_html(error='not_valid') i get again a NameError: "global name 'objectIds' is not defined" Now i'm really puzzled. TIA, oli