Hey all, Our site is experiencing a peculiar side effect. As a person navigates the site, the URL in their location box keeps growing, it contains a "history" of where they have been. Any ideas on how to fix this? DR
"Daniel G. Rusch" wrote:
Hey all,
Our site is experiencing a peculiar side effect. As a person navigates the site, the URL in their location box keeps growing, it contains a "history" of where they have been.
Any ideas on how to fix this?
DR
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Use absolute URLS (accessed via the absolute_url method) or else make sure that your relative urls have the correct number of ../'s. Since acquisition will let you access any sibling folder as a subfolder, it is possible to get deeper and deeper into a 'heirarchy' when you are really just accessing the same folder every time. --sam
Better yet: use the BASEx variables. (See DTML ref.) Jeroen
-----Original Message----- From: sgendler@impossible.com [mailto:sgendler@impossible.com] Sent: dinsdag 18 januari 2000 19:33 To: Daniel G. Rusch Cc: zope@zope.org Subject: Re: [Zope] Growing URL's
"Daniel G. Rusch" wrote:
Hey all,
Our site is experiencing a peculiar side effect. As a person navigates the site, the URL in their location box keeps growing, it contains a "history" of where they have been.
Any ideas on how to fix this?
DR
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Use absolute URLS (accessed via the absolute_url method) or else make sure that your relative urls have the correct number of ../'s. Since acquisition will let you access any sibling folder as a subfolder, it is possible to get deeper and deeper into a 'heirarchy' when you are really just accessing the same folder every time.
--sam
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Daniel G. Rusch -
Jeroen Baekelandt -
Sam Gendler