[CPS-users] customize folder_view

Michael Schulz mschulz at webgis.de
Thu Apr 19 16:55:21 CEST 2007


Yep, thanks to that suggestion, I found something in the cpsportlets
documentation, that suggests to create a new display_mode for an
existing portlet if it just changes the html markup. That sounds
reasonable to me.

Thanks, Michael


2007/4/19, alin voinea <avoinea at nuxeo.com>:
> Can't you use a custom portlet ?
>
> Michael Schulz wrote:
> > Hi,
> >
> > and thanks for your answer. I think, that adding a theme and page
> > mapping is not what i actually want to do. I already have a new portal
> > theme, that has several pages, but on each page, there will be
> > folder_views and folder_contents rendered.
> >
> > Say, for all sections i want the folder_view on each theme page to
> > have the same but not the default layout. I thought i could create a
> > customized "section_folder_view" that just changes how the folder
> > items are arranged and the rest of the page is not affected.
> >
> > Is that possible?
> >
> > 2007/4/19, alin voinea <avoinea at nuxeo.com>:
> >>
> >>  Hi,
> >>
> >>  Create a new Theme Page and from ZMI in portal_themes > Method
> >> Themes Tab
> >> add a mapping:
> >>
> >>  folder_view = YourTheme+YourCustomPage
> >>
> >>  Michael Schulz wrote:
> >> Hi,
> >>
> >>  what would be the correct way to cutomize the visualization of a
> >> "folder_view" ?
> >>  Meaning, the folder_contents should remain as it is, i just want the
> >>  folder_view view customized.
> >>
> >>  I know how to tell the types that are afftected to use another method
> >>  instead of folder view, but i am not sure what i have to put in this
> >>  replacement method.
> >>
> >>  At the moment
> >> "skins/cps_default/content_lib_display_contents_column"
> >>  takes care of the visualization, but for folder_view and
> >>  folder_contents. I could put the separation of the rendering into a
> >>  customized version of that PT, but it seems to me not the perfect
> >>  solution.
> >>
> >>  Thanks for any hints and help, Michael
> >>
> >>
> >>
> >>
> >
> >
>
>


-- 
-----------------------------------------------------------
Michael Schulz
mschulz at webgis.de

in medias res
Gesellschaft für Informationstechnologie mbH

In den Weihermatten 66
79108 Freiburg

Tel  +49 (0)761 556959-5
Fax +49 (0)761 556959-6

http://www.webgis.de / http://www.zopecms.de
-----------------------------------------------------------



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