[CPS-users] Re: Rendering a document as index_html inside a section

Olivier Grisel ogrisel at nuxeo.com
Tue Nov 7 18:26:44 CET 2006


Mario Menezes a écrit :
> Hi,
> 
>  I would like to render a document as index_html inside a section (or
> in all sections).
>  My intended behavior is the normal index_html, that is, whenever
> someone access a CPS Section, the document named index_html should be
> rendered as the main section content, instead of a list of section
> documents (folder_view or folder_contents).
>  Is it possible to do this?
>  If yes, could somebody give some hints on this?
>  I really would appreciate any help with this.
>  Thanks in advance
> 

This not recommended since the front page of the default theme is associated
thanks to a method theme that uses the 'index_html' method as a marker for the
theme negociation.

Why not use a custom portlet that will display the rendering of the section
instead ?

-- 
Olivier




This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.