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
By Anonymous (not verified)original and proposed code change are both the same.
Post new comment