[pmwiki-users] help on skin

H. Fox haganfox at users.sourceforge.net
Fri Aug 24 22:29:07 CDT 2007


On 8/24/07, H. Fox <haganfox at users.sourceforge.net> wrote:
> On 8/24/07, Eemeli Aro <eemeli at gmail.com> wrote:
> > On 8/24/07, Marco Ferretti <marco.ferretti at gmail.com> wrote:
> > > What I would like to achieve is to give the user to modify the Banner
> > > on a per group basis ... something like <img class='banner'
> > > src="$GroupBanner" alt="BANNER">
> >
> > The following ought to work: have each group upload their banner to
> > their group with a set name such as "banner.png" and then use the
> > following in you tmpl: <img
> > src="$ScriptUrl?n=$FullName&action=download&upname=banner.png">.
>
> or maybe change
>
> <img class='banner' src="$PageLogoUrl" alt="BANNER">
>
> to
>
> <img class='banner' src="$PubDirUrl/logos/$Group-logo.png" alt="BANNER">
>
> and put your appropriately-named logos in the pub/logos/ directory.

Oops.  Never mind, I didn't read carefully enough to see you want
"wikify" the logo.  Something like

<!--wiki:$Group.PageLogo $SiteGroup.PageLogo-->

might work, where the appropriate wikitext for the logo link would
exist in at least the Site.PageLogo page.

Hagan



More information about the pmwiki-users mailing list