Drupal 6: customize taxonomy lists sort order with views
Drupal 6 taxonomy lists have a strict sort order: by "sticky" and by creation date. This sort order is hardcoded within the taxonomy core module and hardly can be changed by custom themes or modules. BUT we got VIEWS!
Let's see how to sort node teasers by title:
- Go Administer -> Site building -> Views, find taxonomy_term view, enable it, click edit link
- select Defaults tab
- within Soft criteria click PLUS icon
- add Note Title field, set ASC sort order
- within Soft criteria click order icon with ARROWS
- move Node Title field at second position (or simply delete Node Post date field)
it is a good idea to set caching policy for this view:
- within Basic settings click Caching settings
- set caching parameters as you wish, you may leave default values (1 hour - 1 hour)
Finally, save your changes.
With the help of this view you may do much more deep customization of taxonomy lists, simply learn Drupal Views.