Hi all,
I was wondering if I could sort the output of a taxonomy? The default output appears to be creation time (with new items at the top). However, I want to sort via node title (A to Z).
I could do this easily with the views module, but then if I click on the taxonomy links at the bottom of the node, I get the taxonomy view...sorted by time!
Examples:
o A listing of some nodes: http://drupal.geologyrocks.co.uk/glossary/letter/a that start with the letter "A" and are sorted by node title. Done with Views. Click on the "General Geology" link on the one of the two nodes in that category, which will lead you to...
o A taxonomy output page (url aliased): http://drupal.geologyrocks.co.uk/glossary/general that contains all nodes of that type, but sorted by creation date (or update date: not sure). I need this to be sorted by Node title like the previous page.
Anyone any ideas how to do this?
Many thanks in advance.
Comments
taxonomy redirect?
views + taxonomy redirect?
Taxonomy redirect lets you change the destination of a taxonomy page, according to the description. Not sure if it would do the trick; I've yet to test it myself (though I intend to).
http://drupal.org/project/taxonomy_redirect
Presumably you could change the taxonomy term path so that it links to your views view, sorted alphabetically when there are no arguments.
==========
Feature request: HTML Source Formatting in TinyMCE
I'm pretty sure you can
I'm pretty sure you can override the default taxonomy display with the views module itself - just enable the "taxonomy" view and modify it to suit your needs.
Thanks!
Many thanks for both of those suggestions. I don't think I can use taxonomy redirect as yet as I'm running Drupal 5 and it's only for Drupal 4.7, but I will keep an eye on this module.
I can't see a 'taxonomy' view in the Views module, but the arguments section looks like it contains what I need...However, the views project page does specifically say "You like the default taxonomy/term view, but you find you want to sort it differently; for example, alphabetically."...looks like I just need to find out how ;)
I'll have a play over the weekend and see where I get. Thanks again for the pointers.
Jon
Finally...
I finally found time to try this. Taxonomy redirect (which was very handily ported to 5.0 this weekend) worked a treat. Thanks for the suggestion.
Exactly how?
How does Taxonomy Redirect help you achieve this, exactly? Anyone?
Thanx in advance