[Zope-CMF] DTML in News/Documents - WHY ??
Stephen Hindle
shindle@toocool.com
Thu, 29 Mar 2001 09:47:21 -0800
Ah-Ha !! This sounds like what I want !!
A fairly easy way to customize on a folder
by folder basis !! But how did you 'create'
the DTML Method (ie - what attributes did
you need to give it to stop CMF choking on
missing attributes, etc etc)
Mechanix
> -----Original Message-----
> From: Adrian Madrid [mailto:aemadrid@yahoo.com]
> Sent: Thursday, March 29, 2001 8:15 AM
> To: Stephen Hindle; ptk
> Subject: Re: [Zope-CMF] DTML in News/Documents - WHY ??
>
>
> My approach is to use an old dtml method (e.g.
> index_html) in the portal root folder to gather the
> articles (custom objects) that should be there. BTW,
> this method propagates through subfolders by the magic
> of acquisition letting me write just one (although I
> can use others if I need a change). The article has a
> property (e.g. location) that tells me in which folder
> it should show up and each folder has a property (e.g.
> ptitle) that matches with the location property. Tada!
> I'm not finished yet with all this but in the meantime
> I hope it helps!
>
> --- Stephen Hindle <shindle@toocool.com> wrote:
> >
> > The lack of DTML in Documents is causing me problems
> > with index_html pages. The 'default' index doesn't
> > list any of the contents of a folder - you have to
> > keep hitting 'view contents'. So I figured I'd just
> >
> > 'supply' a index_html document. However, this
> > turned
> > out to be more difficult then anticipated. It has
> > to
> > be done from within the CMF management console, as
> > the
> > stock management console 'DTML_Document' type causes
> >
> > CMF to choke. The CMF based index_html page can't
> > display the news box though, nor any other cool
> > CMF/Zope
> > stuff because they're all DTML based.
> >
> > In short, this seems like a step backwards....
> > Is it really a good thing not to allow DTML ?
> > Could a new content type "DTML Document" be added
> > to CMF ?
> > Is there some other method for customizing the look
> > of a
> > site ?
> >
> > Mechanix
> >
> > _______________________________________________
> > Zope-CMF maillist - Zope-CMF@zope.org
> > http://lists.zope.org/mailman/listinfo/zope-cmf
> >
> > See http://www.zope.org/Products/PTK/Tracker for bug
> > reports and feature requests
>
>
> =====
> ---------------------------
> Adrian Esteban Madrid
> Benson Institute, Webmaster
> Brigham Young University
> ---------------------------
> adrian_esteban@madrid.com
> ===========================
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/?.refer=text