> My problem is that I am trying to make the link path relative instead of the
> absolute path currently in use. I thought I had it with just doing
> "/link.html", but I am using prefixed paths, so it doesn't work right. Then
> I tried "./link.html". Works ok for the first two levels, then gets confused
> (I end up with a link of "/development/subpage/link.html" when I need
> "/development/link.html").

Look at how the admin site does it. $midgard->prefix contains the host
prefix so <A HREF="&(midgard.prefix);/link.html"> will point to the
absolute path to link.html, relative to the prefix, whatever that prefix
is. Am I making sense?

Emile


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to