[dokuwiki] Re: URL-seperated templates for one DokuWiki

  • From: Anika Henke <anika@xxxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 10 Feb 2011 02:10:17 +0000

Hi,

we want to use one DokuWiki with two solutions.

On the hand with a normal template (e.g. http://example.com)
on the other hand with a template which shows only textual informations
(without images or so) for connection over modem (e.g.
http://example.com/modem)

You could setup a farm [http://www.dokuwiki.org/tips:farm] in which each "animal" shares the same data directory, but is configured with different templates. The template for the modem version could disable images and other heavy stuff per CSS. The only thing that needs special attention in this kind of setup is the cache directory. Because the rendered cache files also contain code per template, you need to have a different $conf['cachedir'] per animal.

Cheers,
Anika
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: