Download & Extend

Limit display of terms of free-tagging vocabulary by node count

Project:Site map
Version:5.x-1.1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

This patch provides an admin setting to limit the display of terms from vocabularies that use free-tagging by implementing a threshold on node counts. The motivation is the sitemap page is very long on sites with that have a lot of tags (similar issues #178968 and #192066). Showing and subscribing to these tags may only be useful if the node count is greater than 0. This patch adds a configurable number (threshold to check against node count) to limit those terms by.

AttachmentSize
site_map_count_threshold.patch5 KB

Comments

#1

Here's the same patch against 5.x-1.x-dev.

AttachmentSize
site_map_count_threshold-5-dev.patch 5.03 KB

#2

Status:needs review» reviewed & tested by the community

we are using this in production ... looks good.

#3

Wouldn't it be more useful to have paging instead of limiting the amount of tags to be displayed? Or perhaps I misunderstand and this is exactly what your patch does?

#4

Sorry, revisiting my previous comment I see that these are two different things - I would like to see both!

#5

See also a patch in #504794: Usability patch: count thresholds, RSS links alignment, etc. for D6.

I made the name of setting variable compatible with patches in #0 and #1. I am not intending to roll it for D5 since I completely switched to D6, but if anyone wants it - fell free to pick it up and convert for D5 branch.

#6

Status:reviewed & tested by the community» closed (won't fix)

No new features will go in to the Drupal 5 version. For the Drupal 6 version please see https://drupal.org/node/504794.