[Zope-PTK] Membership separate from Portal?

Kevin Dangoor kid@kendermedia.com
Tue, 15 Feb 2000 14:47:41 -0500


----- Original Message -----
From: "Tres Seaver" <tseaver@palladion.com>
To: "Kevin Dangoor" <kid@kendermedia.com>
Cc: "Mike Pelletier" <mike@digicool.com>; <zope-ptk@zope.org>
Sent: Tuesday, February 15, 2000 12:28 PM
Subject: Re: [Zope-PTK] Membership separate from Portal?


> I have a dead-simple STX_Document ZClass which I use for this.  It has two
> properties, title and body_stx, and uses the following for its index_html
> method::
>
>   <dtml-var standard_html_header>
>
>   <h2> <dtml-var title> </h2>
>
>   <dtml-var body_stx fmt=structured-text>
>
>   <dtml-var standard_html_footer>
>
> I guess I could package it up as a Product (it is currently buried in a
> "utility" Product I have).  Another useful feature might be a "STX Help"
tab,
> which demoed the syntax.

This sounds like something people would like. I agree that this is really,
really simple. But, I've seen people coming from Frontierland and wondering
why they need to include <dtml-var standard_html_header> when Frontier
automatically includes headers and footers...

An STX_Document class is also useful because otherwise you need to make a
separate method to render the doc out to HTML, which seems a little hokey.

Aren't ZClasses great?

Kevin