[dokuwiki] AW: Re: templates based on page name

  • From: "Law, Andrew" <andrew.law@xxxxxxxxxx>
  • To: "dokuwiki@xxxxxxxxxxxxx" <dokuwiki@xxxxxxxxxxxxx>
  • Date: Mon, 22 Aug 2011 07:16:58 +0000

Yep, that wasn´t very clear was it. I was referring to the first case, 
namespace templates..


-----Ursprüngliche Nachricht-----
Von: dokuwiki-bounce@xxxxxxxxxxxxx [mailto:dokuwiki-bounce@xxxxxxxxxxxxx] Im 
Auftrag von Håkan Sandell
Gesendet: Samstag, 20. August 2011 09:37
An: dokuwiki@xxxxxxxxxxxxx
Betreff: [dokuwiki] Re: templates based on page name

> Quick question: Is there any easy way to create templates depending on the 
> name of the page? To be specific, I want to have 1 template for all "start" 
> pages and another template for all other pages regardless of which folder 
> they are in.

What do you mean with templates? Namespace templates, for creating new start 
pages or templates like in skins?

There is no built in way to do either but it shouldn't be too hard to write an 
action plugin that suit your purpose.

/Håkan
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: