Posted by thepocketgeek on March 5, 2010 at 9:18pm
ThePocketgeek's silly question of the day... Can you re order nodes of a content type without getting freaky in the DB?
I know you can reorder nodes inside of a book but I was wondering if it were possible to create a content type and reorder the nodes created under that content type using the Admin section as opposed to tinkering inside the DB. I created a content type and I would prefer to order the nodes underneath so that when they showed up in a node reference I am using, they line up in the order I would like them to.

Comments
nodequeue
Check out the Nodequeue module: http://drupal.org/project/nodequeue
-mike
I like NodeOrder also. Here
I like NodeOrder also. Here is a page comparing the different node ordering modules: http://drupal.org/node/398508
Awesome
Thanks guys. I like the comparison page. All the relevant information in one easy to read format. Sweet!
Did you find what you needed?
I need a similar function.. NodeOrder only works within taxonomy terms (not node types as you asked for), and I couldn't figure out a way to make Nodequeue automatically add all nodes of a specific type to a queue. DraggableView is an option, but not very flexible.
How did you solve it?
Doesn't Node Reference
Doesn't Node Reference contain it's own ordering logic?
I've solved this problem in the past by adding a "Weight" integer CCK field to the content type. I believe you can set DraggableView to use an arbitrary field for the order value, in which case you'd set it to your "Weight" field if you wanted to give your user the ability to change the order by dragging (my clients have all been fine with a simple drop-down with weights between -10 and 10, though).
Orlando, FL Web Developer | http://www.garethsprice.com/
CCK order
This is a good idea – do you remember how you got it working? I tried adding a CCK integer field, and choosing it as the order field in the draggable table style options and sorting order. However, this results in a "The structure was broken. It has been repaired." message when viewing the view, and any changes to the structure are not saved to the CCK field.
If this was working, you could use the sorting order across different views, which would be really useful.
Update: I just found this: http://drupal.org/node/283502
Is the Order field the first
Is the Order field the first one in the list, and is it not set to "Exclude from display"?
DraggableViews can be a pain to get working right... the "broken structure" message can (I think) be disabled somewhere in it's configuration - this is worth doing as it shows up at times when nothing is really "broken" (for example, when it finds orders 1,3,4,5 and "breaks" because 2 is missing).
Orlando, FL Web Developer | http://www.garethsprice.com/