[pmwiki-users] Templates for new pages

Patrick R. Michaud pmichaud at pobox.com
Wed Mar 2 12:59:14 CST 2005


On Wed, Mar 02, 2005 at 10:35:48AM -0800, Fred Chittenden wrote:
>  
> This would seem to only provide the option of one template, blank or
> otherwise. This might be a start -- a choice of offering several templates
> would be much better. 
>  
> Perhaps one could dedicate a "template" group that would store and provide
> a source for a drop down list of templates or forms. If the template group
> is empty (non existant), an "insert template" option wouldn't display. 

The tricky part to this (a dropdown list of templates) is getting the 
"insert template option" to display even if someone has customized 
$EditPageFmt.  All of which ties into http://www.pmwiki.org/PITS/00308, 
which is still being worked on.

Yes, it's possible to do a single template option fairly simply
by setting a value for $DefaultPageTextFmt, but there are some
caveats (like, it doesn't work well if the template contains dollar
signs).

Pm



More information about the pmwiki-users mailing list