[pmwiki-users] Alternatives to $ScriptUrl - inventing $ tags?
Patrick R. Michaud
pmichaud at pobox.com
Wed Nov 8 21:17:31 CST 2006
On Wed, Nov 08, 2006 at 06:41:43PM -0500, Donald Z. Osborn wrote:
> Quick question (I think). I'm tinkering around with the config files for
> some wikigroups and eying the pmwiki.tmpl - what I am setting up is a
> system where each wikigroup will have its own PageLogoUrl, and I want
> people to be able to click on that to return to the wikigroup HomePage or
> Acceuil. It's not working.
> [...]
> <div id='wikilogo'><a href='{$ScriptUrl}'><img src='$PageLogoUrl'
> alt='$WikiTitle' border='0' /></a></div>
Replace the above with something like::
<div id='wikilogo'><a href='{$ScriptUrl}/{$Group}'><img
src='$PageLogoUrl' alt='{$Group}' border='0' /></a></div>
This will cause the image to be linked to the default home page
for each group, whatever it happens to be named.
Pm
More information about the pmwiki-users
mailing list