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

coltrane - January 24, 2008 - 17:57
Project:Site map
Version:5.x-1.1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

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

#1

coltrane - January 24, 2008 - 18:40

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

AttachmentSize
site_map_count_threshold-5-dev.patch 5.03 KB

#2

cyberswat - January 24, 2008 - 21:48
Status:needs review» reviewed & tested by the community

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

#3

TfR75 - April 3, 2009 - 11:10

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

TfR75 - May 20, 2009 - 13:57

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

#5

iva2k - June 28, 2009 - 23:07

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

frjo - June 29, 2009 - 19:08
Status:reviewed & tested by the community» 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.

 
 

Drupal is a registered trademark of Dries Buytaert.