[pmwiki-users] Alternatives to $ScriptUrl - inventing $ tags?

Donald Z. Osborn dzosborn at gmail.com
Wed Nov 8 17:41:43 CST 2006


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.

Here's the problem:
1) The pmwiki.tmpl has this line:

  <div id='wikilogo'><a href='{$ScriptUrl}'><img src='$PageLogoUrl'
    alt='$WikiTitle' border='0' /></a></div>

2) I think that <a href='{$ScriptUrl}'> is routing the click to the
Main.HomePage - in any event that's where you end up when you click the logo

3) I tried adding $ScriptUrl = 'HomePage' in the config file, but that made
a mess (didn't see that $ScriptUrl is used for a bunch of things later on-
so I undid that)

4) I think I can replace {$ScriptUrl} with HomePage in the pmwiki.tmpl file,
but that will mean that every wikigroup regardless of language will have to
start with HomePage rather than Accueil or whatever.

5) Can I make up my own $AbcdXyz tag in the pmwiki.tmpl file and then define
that in each wikigroup config file?

5a) if not, what do I do?

TIA for any guidance

Don
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20061108/d1a2e99c/attachment.html 


More information about the pmwiki-users mailing list