6

I would like to be able to specify a "weight" for the article nodes published in the homepage. What is the best way to do this?

1
5

You could for example use Nodequeue to create fixed list of nodes and then show that as the front page (as a view I guess).

Or, you could define your own weight field (for example a simple integer field, or a select with options from -50 to 50) and then create a view of nodes which you sort based on that field.

3
  • +1 on Nodequeues. You can also do a view over a nodequeue, which can be handy. – mpdonadio Jun 7 '11 at 19:15
  • Nodequeue looks interesting, I'll check it out. If I decide to go with the second option, how could I sort by this field the nodes of my homepage and possibly also the administration content area? are we talking a custom module and DB queries? – Carlos Muñiz Jun 7 '11 at 19:32
  • You are looking for drupal.org/project/views – Berdir Jun 7 '11 at 19:46
5

Both Draggeble Views and Nodequeue are great for creating easy-to-use admin pages with drag-and-drop sorting. The main difference between Draggable Views and Nodequeue is that Nodequeue allows manual sorting and selection, whereas Draggable Views allows manual sorting of an automatically populated list (a view). Both modules are explained and compared in these two blog posts.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.