Thank you Bastien – it works like a charm… Jim

 


From: Bastien Gauthier (via Nabble) [mailto:[hidden email]]
Sent: Thursday, August 13, 2009 10:06 AM
To: Jim Biggs
Subject: Re: [Plone-Users] order in plone folder does not work

 

You can sort your portal_catalog search on "getObjPositionInParent".  This will keep the right order.

About the other problem, it should not be displayed but if the type of your folder is a "Plone Large Folder", this is not an ordered folder type...  Use ATFolder instead...

Have a nice end of day ;-)

BASTIEN Gauthier
Service Informatique - Administration Communale de Sambreville
071/260.247
http://www.sambreville.be
 


>-----Message d'origine-----
>De : Jim Biggs [mailto:[hidden email]]
>Envoyé : jeudi 13 août 2009 15:51
>À : [hidden email]
>Objet : Re: [Plone-Users] order in plone folder does not work
>
>
>I have a related question, whose answer may offer a "custom"
>(i.e. coded) solution to the issue David is reporting.
>
>Is there anyway to "read the order" of the folder_contents
>view as a reference to synchronize the same order for a custom
>ZPT view?
>
>I've experience the touchiness experienced by David in using
>the reordering feature in the folder_contents view, but my
>experience suggests it's browser related based on cursor
>movement/cursor release.
>
>But the issue I'm experiencing is that I want to allow users
>to employ the reordering feature in folder_contents to control
>the order in my custom ZPT view.  But, I haven't yet figured
>out how to do this.
>
>The query code I'm using follows:
>
>self.context.portal_catalog.searchResults(portal_type=('Task',),
>path={'query':'/'.join(self.context.getPhysicalPath()),'depth':1}, )
>
>
>Is there a way I can do this or similar query to return the
>results in the same order as displayed in the folder_contents view?
>
>Regards... Jim
>
>
>
>dvid wrote:
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hello,
>>
>> if I change order of items in plone folder (in root folder of plone
>> instance as well as subfolder) using drag and drop function,
>it moves
>> item in the interface, but it simply does not anything else; if I
>> click e.g. on the view tab, order is the same as before the attempt.
>> Please, what should I check? Or is there an other way to touch the
>> order than drag and drop, e.g. change some property using ZMI?
>>
>> Thank you!
>>
>> David
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.9 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iEYEARECAAYFAkqB22EACgkQ3oCkkciamVGKRQCghr9As5LzlK2xQZPSdur20hRv
>> a4YAoIYDL3HxoA2SPxZchHAMy1tAkDYi
>> =sWY1
>> -----END PGP SIGNATURE-----
>>
>>
>----------------------------------------------------------------------
>> -------- Let Crystal Reports handle the reporting - Free Crystal
>> Reports 2008 30-Day trial. Simplify your report design, integration
>> and deployment - and focus on what you do best, core application
>> coding. Discover what's new with Crystal Reports now.  
>> http://p.sf.net/sfu/bobj-july 
>> _______________________________________________
>> Plone-Users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/plone-users
>>
>>
>
>--
>View this message in context:
>http://n2.nabble.com/order-in-plone-folder-does-not-work-tp3426
>856p3438086.html
>Sent from the General Questions mailing list archive at Nabble.com.
>
>---------------------------------------------------------------
>---------------
>Let Crystal Reports handle the reporting - Free Crystal
>Reports 2008 30-Day trial. Simplify your report design,
>integration and deployment - and focus on what you do best,
>core application coding. Discover what's new with Crystal
>Reports now.  http://p.sf.net/sfu/bobj-july 
>_______________________________________________
>Plone-Users mailing list
>[hidden email]
>https://lists.sourceforge.net/lists/listinfo/plone-users
>


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users


View message @ http://n2.nabble.com/order-in-plone-folder-does-not-work-tp3426856p3438170.html
To unsubscribe from Re: order in plone folder does not work, click here.

 



View this message in context: RE: [Plone-Users] order in plone folder does not work
Sent from the General Questions mailing list archive at Nabble.com.