[pmwiki-users] variable returns domain name?
Hans
design5 at softflow.co.uk
Fri Apr 13 08:04:21 CDT 2007
Friday, April 13, 2007, 1:58:22 PM, Hans wrote:
> Side note:
> {$ScriptUrl} on its own is rendered as a link.
> Stripping the initial http://www. will render as text.
> Bracketing the markup expression
> [[{(substr "{$ScriptUrl}" 11)}]]
> will render as link, but to some wiki page, most likely
> non-existent.
But then this will work:
[[{$ScriptUrl}|{(substr "{$ScriptUrl}" 11 )}]]
~Hans
More information about the pmwiki-users
mailing list