[Zope] display object without index_html

Christopher Rivard chris at clearwired.com
Wed May 18 13:51:13 EDT 2005


i am developing a Zope product (2.7) with a "homepage" content type and
want this object to display as the index of a folder.
for other custom objects, i have display methods that call an index view
( using DTMLFile) of the object like this:

#homepage view
index_html = DTMLFile('dtml/indexHomepage', globals())

i want this object to display as the index of the folder without:

folder/index_html/index_html

however, when i render the object, i get:

<Homepage at index_html>

remove display:

http://localhost:8080/www/index_html/index_html has an empty or missing 
docstring. Objects must have a docstring to be published.

how can i ensure that an "homepage" object with an id of index_html will 
display as the index of a folder (without calling 
folder/index_html/index_html)?
i hope i explained this coherently...

any insight would be greatly appreciated-

Thanks,
Chris














More information about the Zope mailing list