> 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?
Makes sense. Unfortunately "prefix" doesn't seem to be getting anything, or
it is not defined (it's not listed in the online manual in the section about
mgd_get_midgard which is where the $midgard object is discussed).
(http://www.midgard-project.org/manual/function.get-midgard.html)
$midgard->uri *seemed* to be the next best choice, but it returns the
current page's URI, which obviously doesn't help any.
$mgdroot doesn't seem to be getting set either. My copy of the admin site
uses:
<a href="&(mgdroot);/topic/" class="navi">&(link.title);</a>
to create its links. But when I try using mgdroot I do not get the same
results. Do I have a configuration/compilation problem, or has something
changed somewhere?
Dion
*************************************************************************
* Dion Vansevenant *
* Systems & Technology Analyst [EMAIL PROTECTED] *
* RoweCom Canada Tel: (519) 472-1005 *
* P.O. Box 2382 Fax: (519) 472-1072 *
* London, ON N6A 5A7 www.rowecom.ca *
* Canada *
*************************************************************************
--
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]