Thank you very much Jean-Marc, I would really appreciate if you could send me the code. I also have another question, how is used getCustomDisplayParams.py? Thanks again C. > Da:: Jean-Marc Orliaguet <jmo at ita.chalmers.se> > A: curios-one <curios-one at lycos.it> > Titolo:: Re: [CPS-users] How to sort items in sections, portlets, etc.? > Data: Mon, 10 Apr 2006 19:23:21 +0200 > curios-one wrote: > > > Hi, > > can somebody help me understanding how to sort items in sections, > > portlets, etc. > > > > I noticed that some portlets have dropdown boxes to set the sort > > order, but I can't understand how to sort items in the navigation > > portlet called folder contents in the content_well slot. > > > > Is it also possible to have different sorting on different sections? > > for example one section where items are sorted by titles and another > > one where are sorted by the last publishing date. > > > > Thanks in advance. > > C. > > > we have implemented something like this on our site, but it requires > that you add a 'sort items' field on sections. Then the folder contents > portlet almost already supports the sorting of items (see > getFolderItems.py) , so you'll have to customize the page template > associated with it (i.e. create a custom portlet) to make it read the > information from the current section. > > I can send you the code if you want. > > /JM Lycos Mail: casella da 300 MB gratis per te con sicurezza antispam e antivirus - http://mail.lycos.it
Hosting: Nuxeo: Zope service provider