| |
|---|
| Yes, if you use “if…“s in your template for example. You could read out the namespace from explode (:,$id). I did that for different footers and it worked. if you want to have whole templates changed depending on the namespace, you'd probably use their “main.php”s as tpl1.php, tpl2.php and so on and include them in main.php via this 'if ($explodednamespace[0] == “namespace1”) {include tpl1.php} — Freddy 2005-11-16 13:55 You may also consider using “Multitemplate for DokuWiki”, listed at templates this allows for unique templates for separate namespaces. — Terence J. Grant 2006-06-26 06:31 |
| |
|---|
If you just want different colors, styling and background images you could use the permissionstyles plugin. If you want different markup, you need to enclose the markup variations with if($_SERVER['REMOTE_USER']==…) in your template. |
| |
|---|
| This will be possible in the upcoming release (develonly) |
| |
|---|
| It should be possible with a CSS-based layout and a <link rel=“stylesheet” media=“handheld”/> added manually to main.php. |
| Put the folder containing the template inside of dokuwiki-path/lib/tpl – Don't forget to tell DokuWiki about the new template! (See Installing Templates) |
| I've created a function and some instructions how to include a sidebar. You can find it here: http://www.woutersnel.nl/home/tpl_specialpage/ |