I created a content type. I added few nodes. I would like to give them weight so they list in the order of weight instead of default order.
I installed and enabled the weight module.
On this page https://www.drupal.org/node/307797, it says
To enable Weight for a content type, go to Administration » Structure » Content types and select the content type you want to enable Weight for. Select the Weight vertical tab, choose your desired settings, and click the Save
button.
I did this:
Administration » Structure » Content types > Click Edit for the content type > I do not see Weight vertical tab. When I edit the existing nodes, I do not see any weight option. I am just confused how to configure the module.
Please advise.
Comments
Are you using the right version for the doc you read?
I assume you're using the version 7.31 of the weight module? If so, there is another block for that in the docs:
I added a new field and
I added a new field and selected "weight" as widget. I am trying to weight the nodes not the field. When I edit a node, i see the weight drop down. Is this drop down field representing the weight of the node or that field?
I added nodes 1, 2, 3, 4 in this order. I would like to display them based on the weight I provide (i.e. 2,1,3,4)
So
node2 > weight 0
node1 > weight 1
node3 > weight 2
node4> weight 3.
Now, nodes should be displayed as node2,1,3,4. Is my understanding correct?
=-=
yes based on
from https://www.drupal.org/node/307797
Hm, I guess it only applies
Hm, I guess it only applies to Lists/Tables generated by views... but then you just could add an integer-field named "weight" to your contenttype and it would do the same.
It might add a draggable-table to the view to order the items... but that you will have to find out.
Just create a view to display the nodes and see what happens.
=-=
If the list is arbitrary I'd consider the node queue module.
Currently, i gave weight to
Currently, i gave weight to each node using a weight widget field. Edited the view to display it in ASC order of weight field. It works. But giving numeric weight can be difficult sometimes when I have so many nodes. I thought nodequeue might be a better option because I can drag and drop. How can I edit the entity pager view so it displays in the order of the node queue?
https://drive.google.com/open?id=1q_L74gaXNdg-utw0Lj61oLNbNKvf4PzXGp2tGt...
=-=
That's an entirely new question which deserves its own thread. I suggest editing the thread you've already started regarding entity pagers @ https://www.drupal.org/node/2872806 and modifying to match this newly asked question.