[z3-five] index_html in CMF-2.0.0, Zope-2.9.1 and Five

Lennart Regebro regebro at gmail.com
Sun Mar 5 21:01:16 CET 2006


On 3/5/06, David Pratt <fairwinds at eastlink.ca> wrote:
> Creating a folder with a public view outside a CMF instance still does
> the right thing and you can edit and view an index_html as you always
> could before.

No it's actually quite unusual in CMF, I think. I sure never seen anybody do it.

> As far case for index_html. Well, this is same as use case for
> index.html in HTML to provide the display of a page for a folder:

Yeah, well that is a completely flawed hack you shouldn't need to
resort to in an object-environment, since the object itself should be
able to return the correct HTML directly. I would create a default
view for the portal type in qestion that returns the content you want
returned.

> This is likely a CMF bug

Probably, yes.

> Can I expect index_html to work as before for
> portals based on CMF-2.0 with Five views?

Five has no special handling for index_html, so yes, it should work.
--
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/


More information about the z3-five mailing list