Does anyone know how to modify the default index_html? Do I need to do it from the source? Thanks in advance, Ron
Please disregard my post. Dieter answered the question. Thanks Dieter! "Ronald L. Chichester" wrote:
Does anyone know how to modify the default index_html? Do I need to do it from the source?
Thanks in advance,
Ron
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
"Ronald L. Chichester" wrote:
Does anyone know how to modify the default index_html? Do I need to do it from the source?
Hi Ron, The mention of this a couple of times the past two days brings me to ask this. Why not a ZClass? By creating a ZClass that subclasses DTML Document (or Folder if you need a container) you have a lot of flexibility. You can define a default index_html, you can define a propertysheet, you get to name the meta type and you can define methods specific to that class. These all give you total flexibility in sorting and presentation. So what am I missing? Why don't more people use ZClasses? -- Tim Cook, President - FreePM,Inc. http://www.FreePM.com Office: (901) 884-4126 ONLINE DEMO: http://www.freepm.org:8080/FreePM
On Sat, 24 Mar 2001, Ronald L. Chichester wrote:
Does anyone know how to modify the default index_html? Do I need to do it from the source?
It's in /lib/python/OFS/DTMLDocument.py I don't know of any other way to change it; I think you'd have to do so here. -- Joel Burton <jburton@scw.org> Director of Information Systems, Support Center of Washington
participants (3)
-
Joel Burton -
Ronald L. Chichester -
Tim Cook