Forum OpenACS Q&A: Re: Getting URL

Collapse
3: Re: Getting URL (response to 1)
Posted by Pavel Boghita on
my guess is that you could try:
# set url "<a href=\"../forums/">Forums</a>"
Collapse
4: Re: Getting URL (response to 3)
Posted by Pavel Boghita on
what I meant above was use ../forums/ rather than /forums/ which will take you in /notes/forums/.
'..' stands for parent directory.
Collapse
5: Re: Getting URL (response to 4)
Posted by russ m on
If you are in /notes/ and an URL links to /forums following that link will *not* take you to /notes/forums/ unless you're using a very broken browser (which would surprise me). If the link target starts with a slash it is locked to the root of the server URL tree.

Take a look at the source of the served HTML page where this link is - I'd be pretty confident that the link target is not actually coming through as "/forums"...