incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Murray Altheim <murra...@altheim.com>
Subject Re: Access to jspwiki.properties in templates?
Date Thu, 26 Feb 2009 08:25:45 GMT
Mike Morris wrote:
> I've been working on a template-set that I'm using for a multiple wiki
> situation. It's a very light mod of the standard templates, such that
> the View template looks something like an ordinary (non-editable)
> website, except for authenticated users.
> 
> One thing that I want/need is to have different favicons, banner
> pictures, etc. for the different sites. So far I've hacked a
> workaround based on using the jspwiki.applicationname (which differs
> for each wiki) but its an ugly, fragile and brittle hack. Ideally I
> would like to add some properties of my own invention to the various
> jspwiki.properties files, and then pick them up in the templates. Is
> there any way to do this that I may (likely) have missed? Some of the
> documentation wiki seems to imply that this is possible, but the
> details elude me.

In WikiEngine:

      public Properties getWikiProperties()

...........................................................................
Murray Altheim <murray09 at altheim dot com>                       ===  = =
http://www.altheim.com/murray/                                     = =  ===
SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk               = =  = =

       Boundless wind and moon - the eye within eyes,
       Inexhaustible heaven and earth - the light beyond light,
       The willow dark, the flower bright - ten thousand houses,
       Knock at any door - there's one who will respond.
                                       -- The Blue Cliff Record

Mime
View raw message