[ZPT] Anyone made a 'library' script for page templates?

Chris Withers chrisw@nipltd.com
Wed, 07 Aug 2002 09:55:28 +0100


Tony McDonald wrote:
> 
> What I guess I'm after is a someway of having different ZPT templates made
> available to users of our sites. I know I can copy the PageTemplate product
> into each Product folder of our INSTANCE_HOMEs, and edit www/default.html,
> but that's a bit cheesy, no?

Hmmm, hmmm, how about writing a product that had a selection of templates on the 
file system and made them each available through the 'Add...' menu?

I'd expect to see things like the following on the add menu:

Add 'standard.pt"
Add 'fish.pt"
(etc)

Of course, the Add list is pretty cluttered already, so maybe have a single 
entry on it and then next screen is a radio-button-select-thing to choose your 
default content?

cheers,

Chris