I'm making a newspaper that has a lot of views in the frontpage -for showing the different sections and lists of related articles for that sections-. The editor asked for a weight option to control the position of the node in the lists.. I wonder if I can use this module without fear of breaking my views. Currently I'm showing the nodes sorted by stickiness..(I understand this module modifies this value in order to do the weighting thing).

thanks for your help

Comments

bitman’s picture

Component: Miscellaneous » Documentation

This module works very well with views that use "Node: Sticky, Descending" as the first sort criteria. Stickiness is used as the first sort criteria just like normal, and weight is used as the second criteria for node types that support it. The "Node: Sticky" field is overloaded to sort on both criteria together.

Of course, you can also include additional sort order criteria after "Node: Sticky" to sort nodes that have the same stickiness and weight. That way you can leave most nodes at weight 0 if you only need fine control over the order of a few nodes.

Even sticky nodes can have relative weights, making some nodes more sticky than others.

This behavior is fairly easy to deduce just by experimenting with the module, but it would help to explicitly describe how to use this module with views in the documentation and/or on the settings page.

bitman’s picture

Also, while sorting works fine with views, filtering by stickiness is broken. If you need such filtering, see: http://drupal.org/node/190153

nancydru’s picture

Status: Active » Fixed

I'm marking this fixed because the support question was answered well, and the ordering issue (#190153: Views Filter, node->sticky do not work ) will be fixed soon.

nancydru’s picture

Status: Fixed » Closed (fixed)