I'm still struggling. I have decided to use ZPT and external methods for most of my page generation. Is it possible to have a ZPT rendered as index.html - i.e. have it presented when the folder is viewed. As far as I can see, a DTML method named index_html is rendered as index.html. I want to keep away from DTML for the moment, in order to simplify things. Thanks, Eddie. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.576 / Virus Database: 365 - Release Date: 30/01/2004
Hi Eddie Just name a zpt as index_html in any folder and it will render as the default view. (Obviously there can be only be one index_html in a folder so you must remove the default dtml one in the root folder to add a zpt one) HTH Sean Kemplay On Sun, 2004-02-01 at 21:38, Eddie Comber wrote:
I'm still struggling.
I have decided to use ZPT and external methods for most of my page generation.
Is it possible to have a ZPT rendered as index.html - i.e. have it presented when the folder is viewed.
As far as I can see, a DTML method named index_html is rendered as index.html.
I want to keep away from DTML for the moment, in order to simplify things.
Thanks, Eddie. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.576 / Virus Database: 365 - Release Date: 30/01/2004
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Ah, removing the default on is where I got stuck. Thanks, Eddie. -----Original Message----- From: zope-bounces@zope.org [mailto:zope-bounces@zope.org]On Behalf Of S Kemplay Sent: 01 February 2004 14:13 To: zope@zope.org Subject: Re: [Zope] Newbie Hi Eddie Just name a zpt as index_html in any folder and it will render as the default view. (Obviously there can be only be one index_html in a folder so you must remove the default dtml one in the root folder to add a zpt one) HTH Sean Kemplay On Sun, 2004-02-01 at 21:38, Eddie Comber wrote:
I'm still struggling.
I have decided to use ZPT and external methods for most of my page generation.
Is it possible to have a ZPT rendered as index.html - i.e. have it presented when the folder is viewed.
As far as I can see, a DTML method named index_html is rendered as index.html.
I want to keep away from DTML for the moment, in order to simplify things.
Thanks, Eddie. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.576 / Virus Database: 365 - Release Date: 30/01/2004
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Eddie Comber wrote:
I'm still struggling.
I have decided to use ZPT and external methods for most of my page generation.
Is it possible to have a ZPT rendered as index.html - i.e. have it presented when the folder is viewed.
just call it index_html. There is no difference wheter you use a DTML,PT or a script Robert
participants (4)
-
Eddie Comber -
Edward Comber -
robert rottermann -
S Kemplay