I want the taxonomy/term/tid pages list nodes in alphabetical order in drupal 6. By default, nodes are listed in order of the created time. I knew I can achieve my goal with Views module, but it was a small project, so I tried a duty ( and simple) way. Here is how:
open modules/taxonomy/taxonomy.module file, and search for
function taxonomy_select_nodes($tids = array(), $operator = 'or', $depth = 0, $pager = TRUE, $order = 'n.sticky DESC, n.created DESC')
change the code to:
function taxonomy_select_nodes($tids = array(), $operator = 'or', $depth = 0, $pager = TRUE, $order = 'n.sticky DESC, n.title')
original and proposed code change are both the same.
no the code is not the same, the codes are longer than the box they are in. just 'select all' in the boxes.
Post new comment