[pmwiki-users] Upgrade concerns with Site.PageListTemplates

Patrick R. Michaud pmichaud at pobox.com
Sat Jun 3 11:45:45 CDT 2006


On Sat, Jun 03, 2006 at 12:32:12PM -0400, Neil Herber wrote:
> At 2006-06-03  10:50 AM -0500, Patrick R. Michaud is rumored to have said:
> 
> I am using custom pagelist templates to populate some of my sidebars. 
> Right now, I have added the templates to the Site.PagelistTemplates 
> page, which means they will get clobbered on the next update.
> 
> How can I use custom templates that will survive an update? 

One mechanism is to simply put the templates onto a different page,
and then use:

    (:pagelist fmt=Site.LocalTemplates#name ... :)

Or, an entire page can be a template:

    (:pagelist fmt=Site.SideBarTemplate ... :)

> Or, how can I implement the equivalent of Site.LocalTemplates?

I'll try to get Site.LocalTemplates into 2.1.10.

Pm




More information about the pmwiki-users mailing list