I want to make users who upload some files, arange the order of the files themselves. I plan on doing this by adding a property to each file named 'sortorder'(int). And then order on this property. I think this is a bad solution, since it means when a user wants to insert a file as #2, I have to update all the other files who has sortorder>=2. So is there another way of doing this? regards Bjorge Solli -- http://www.lstud.ii.uib.no/~s0182/smile/Smiles -- Bjørge Solli - Universitas Bergensis, Norway mailto:Bjorge@Kvarteret.no icq#29210281 MSN:bobelloco@hotmail.com Møllendalsv.19, 5009 Bergen, Norway tel:55202853/91614343
On Tue, Jul 16, 2002 at 03:53:17PM +0200, Bj?rge Solli wrote:
I want to make users who upload some files, arange the order of the files themselves.
Haven't tried it, but see if http://www.zope.org/Members/srichter/Products/OrderedFolder does what you need. -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University -- renfro@tntech.edu
participants (2)
-
Bjørge Solli -
Mike Renfro