Friday, October 26, 2012

Weight - Module

This module adds a weight option to enabled node types. Nodes with lower weight will float to the top of lists, while heavier items will sink. It uses the node table's 'sticky' column to store weights as well as sticky information (so that feature is not lost).
You might be interested in reading Comparison of Node Ordering Modules.
This is useful for sorting non-chronological nodes like bios, e-commerce products, or whatever you would like.
Nodes will be sorted first by stickiness, then by weight, then by creation date.


No comments:

Post a Comment

only show translated menu items into current language (Drupal 8)

function MY_THEME_preprocess_menu(&$variables) {   if ($variables['menu_name'] == 'brancott-header-menu') {    $langu...