Whenever I create a new Page Template, I'm presented with some pre-filled content. I'd like to change the content in it--is there any way I can do this for my not-quite-full hosting account? I've got a basic starter account which doesn't give me shell access or access to install Products, so if there was someway (acquisition?) to modify that didn't require that kind of access that would be great. I've tried adding a Page Template with name "Page Template" but that didn't do anything special ;-) Jay
Jay Dorsey wrote:
Whenever I create a new Page Template, I'm presented with some pre-filled content. I'd like to change the content in it--is there any way I can do this for my not-quite-full hosting account? I've got a basic starter account which doesn't give me shell access or access to install Products, so if there was someway (acquisition?) to modify that didn't require that kind of access that would be great. I've tried adding a Page Template with name "Page Template" but that didn't do anything special ;-)
there is a file {yourZopeDir}/lib/python/Products/PageTemplates/www/default.html change its contents and reload Zope hth, michael -- http://webforce.at irc://irc.freenode.net/webforce -- nick: d2m
On Thu, 2003-11-13 at 04:11, Jay Dorsey wrote:
Whenever I create a new Page Template, I'm presented with some pre-filled content. I'd like to change the content in it--is there any way I can do this for my not-quite-full hosting account?
Yes and no. You can't change the default content without changing it for everyone using your installation. Sounds like you're not alone or in charge of what you're using. On the other hand, you could create a ZPT object that has the content you want & use copy/paste to create subsequent templates. You could also cook up a small Python Script that creates a template and stuffs it with your preferred content. The latter solution would make a good learning project. HTH, Dylan
participants (3)
-
Dylan Reinhardt -
Jay Dorsey -
Michael Haubenwallner