How to display taxonomy term page in a customized format?

usmanz - June 1, 2009 - 23:48

I have attached taxonomy terms to node types, I can list the taxonomy terms in block form, which are linked to the term page. e.g:

http://acheapwebdesign.com/taxonomy/term/1

But my problems are:
1.) The URL of taxonomy term is very non-user friendly.
2.)If there are a large number of nodes linked to a taxonomy term, they will make the term page too large to load, as it displays it in a simple list.

Is there any way to customize the term page without editing its theme files?

How can that be done through View module?

Yes, use the Views module

jt_jones - June 2, 2009 - 03:27

Yes, use the Views module. You can give the view any URL you want and determine how many nodes are displayed.

Filter by Node Published (Yes) and Taxonomy Term. Then use Path Redirect to redirect /taxonomy/term/1 to your view.

The contributed module

matt_harrold - June 2, 2009 - 03:29

The contributed module "edit_term" gives you the ability to create path aliases for terms (and add menu entries) directly from the term edit page. You can easily change the path from taxonomy/term/1 to "business" or whatever else you like.

The default taxonomy/term page view uses a pager .. so it shouldn't get too big (assuming you've already adjusted the settings on admin/content/node-settings).

You can easily override the taxonomy/term page using Views ... just go to admin/build/views ... scroll down to where it says Default Node view: taxonomy_term and press the "enable" link.

You can then customize the view however you like.

 
 

Drupal is a registered trademark of Dries Buytaert.