Thursday 19 October 2006 3:48:26 am
Hi Marko
Depending on how the priority change should propagate this might be easiest to solve using Javascript. If you want to reorder all priorities it is really simple: Fetch all the input boxes, order them by their value and insert the position on the ordering as new value . Just take care that the input box that triggers the function takes precedence in the ordering. Trigger this script onblur or onchange of the textboxes. I can send you a script which does that for selectboxes if you are interested, but it is really easy. This simple approach will cause problems if you have some special priorities that should not change (E.g I use a priorities of 1000 for nodes that should not be displayed when fetching all children). In this case you might need something more fancy. I haven't looked into whether there are any extensions or native EZ functions that do this. Greetings from Luxembourg Claudia
|