Clicking a taxonomy term in a Node leads to a URL like taxonomy/term/7 with a list of nodes with that taxonomy term. However, my Drupal installation is only showing 3 nodes/page in that list. Is there a way to customize the number of results the default taxonomy term search shows?


The Views module has a default View for that page. If you enable it you can adjust it the way you want like you would normally do with Views.

enter image description here

Without Views: see comments.

  • Thanks! That works for me since I already had Views installed. I presume there's no way in core to do this? No template file for my theme I could create? – MidnightLightning Sep 4 '12 at 15:09
  • Without Views: the number of nodes to show is saved in a variable called "default_nodes_main", the default is 10. You could change the variable using code, drush, ... See taxonomy_term_page for more info. – Bart Sep 4 '12 at 15:17

The root cause of your problem is because of a setting found here: admin/config/system/site-information. This is the admin page for setting 'site' information, such as the site name, email address, etc.

One of these settings is called 'Number of posts on the front page'. Changing this value changes not just the front page but ALL taxonomy term display pages.

This is why you were only seeing 3 posts. Using the Views option to override the default Drupal taxonomy term pages is a good option, but it does have some side effects. For example, I'm not sure in D7, but in D6 I noticed that I lost the ability to filter terms on these pages when using the Views override. In D7, I lost the ability to display on the term page any fields including the term description associated with that taxonomy term.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.