Re: Specify order of content items

2006-07-08 Thread David Robinson
[EMAIL PROTECTED] wrote: > Interesting! Nice to see an example of how to integrate dojo and > django, there aren't many... > > Are you building a custom administration interface for Sputnik which > allows for the reordering of news items by use of this technique? > Did you try to implement this d

Re: Specify order of content items

2006-07-08 Thread drakepad
Interesting! Nice to see an example of how to integrate dojo and django, there aren't many... Are you building a custom administration interface for Sputnik which allows for the reordering of news items by use of this technique? Did you try to implement this drag and drop functionality for the dj

Re: Specify order of content items

2006-07-07 Thread David Robinson
drakepad wrote: > Thanks for clarifying the issue Arthur. Drag and drop support would be > fantastic indeed... We've got the same sort of need to specify the order of news items. And we have done it using Dojo's drag and drop. I'm not the one who did it, but the guy who did get it to work wro

Re: Specify order of content items

2006-07-07 Thread drakepad
Thanks for clarifying the issue Arthur. Drag and drop support would be fantastic indeed... Would a series of up/down buttons be easier to implement? In the meantime, I'll use intervals between the individual items' position values to leave some room for maneuver. Ciao! On 7/8/06, arthur debert

Re: Specify order of content items

2006-07-07 Thread arthur debert
Hi drakepad. I am not aware of a good way to implement this, but this is how I have been doing it...If you must have an arbitrary order (not by date or alphabetical) you must create a field specifically to store your desired order. class MyModel(Model): ... regular fields go here... posi

Specify order of content items

2006-07-07 Thread drakepad
Hello everybody, Suppose I want to manually specify the order in which a number of content items are displayed in a page (e.g. list of menu items). I want to be able to control the ordering from the admin interface, using for example an 'ordering' weight for each individual item. - What would b