Configuration options for term display

nedjo - June 5, 2008 - 00:18
Project:Syndication
Version:HEAD
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Some sites will need to limit the number of feeds displayed for terms when vocabularies are large. As noted in code comments, the current approach is limited:

<?php
// Only show first 30 terms. Wary of huge vocabs. Not ideal.
?>

The attached patch introduces two new configuration options.

The first setting allows a site admin to set a maximum term depth. When set, terms in all nested vocabularies will display only to that depth (e.g., 2), defaulting to no limit.

The second setting is a configurable limit on the number of terms per vocabulary, defaulting to the current limit of 30.

Together, these configuration options give site admins better control over term feed display.

AttachmentSize
syndication-term-limit.patch2.17 KB

#1

nedjo - June 9, 2008 - 16:35
Status:patch (code needs review)» fixed

Applied.

#2

Anonymous (not verified) - June 23, 2008 - 16:43
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.