Hi Olivier,
On 11/7/06, Olivier Grisel <[EMAIL PROTECTED]> wrote:
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.
no problem!
Why not use a custom portlet that will display the rendering of the section
instead ?
this is exactly what I want but I don't know how to do it!
could you give me some hints?
I've been playing with several portlets to do this without success; I
didn't any
modification in the portlets (code) beside what is presented in theme management
interface, that is, I only changed options in portlets.
for example, the Document portlet in CPS Default theme has an option
'Render the container'; I thought this could help me but I wasn't able
to get what I wanted.
I really tried to solve this alone, but failed :-(
I would appreciate any help on this. I have visited many CPS sites
around the world (in fact, many in .fr) and I saw nice sites, like
Chalmers University site (www.chalmers.se). Of course, JM is an expert
and I'm aware of my little knowledge on CPS. But I would like to do
something nice, too.
Thanks
--
Mario O.de Menezes, Ph.D. "Many are the plans in a man's heart, but
LinuxUser: #24626 is the Lord's purpose that prevails" Pv 19.21
http://www.ipen.br/~mario
_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users