[pmwiki-users] help on skin

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


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.

Hagan



More information about the pmwiki-users mailing list