Taxonomy Term Count With Teasers

  • Attendance Matrix (1) - This provides a table view of who attended which meetings.
    Project page | Documentation page | Change log
    • Development

      This module is still in development. In its current state it can only be used for monthly meetings and only supports one matrix per site. These shortcomings will be overcome eventually.

  • FAQ_Ask (14) - This module is an add-on to the FAQ module that allows users with the 'ask question' permission to create a question which will be queued for an 'expert' to answer.
    Project page | Documentation page | Change log
  • Get_Content_Type (1) - The get_content_type module fills an oversight by the D5 developers. When they moved the part of CCK (sometimes called CCK-Lite) into core for creating new content types, they forgot the analog to taxonomy/term/xxx, that is node/type/xxx. This simple module provides that function.
    This module has not been contributed due to disparaging comments from more advanced Drupallers.
    Project page & Documentation
    • July 15. 2007

      The get_content_type module fills an oversight by the D5 developers. When they moved the part of CCK (sometimes called CCK-Lite) into core for creating new content types, they forgot the analog to taxonomy/term/xxx, that is node/type/xxx. This simple module provides that function.

      This module has not been contributed due to disparaging comments from more advanced Drupallers.

  • Glossary (26) - The glossary module scans content for glossary terms (including synonyms). The glossary indicator is inserted after every found term, or the term itself is turned into an indicator, depending on the site settings. By hovering over the indicator, users will see the definition of that term displayed as a "tool tip." Clicking the indicator leads the user to that term presented within the whole glossary or directly to the detailed description of the term, if available.
    Project page | Documentation | Change log
    • December 1, 2007

      Became co-maintainer of this module. Working first to reduce the issue queue.

    • February 19,2008

      #223766 by nancyw - change term indicator selection to radios.
      #223761 by nancyw - add clear cache button on settings page.
      #220466 by nancyw for harking - corrected filter description pointer.
      #48966 by nancyw for Andrés Chandía - added form to enter alphabar contents.
      Added empty pic to line up when Taxo Img in use and no pic.
      Moved settings to end in prep for 6.x.

    • February 11, 2008

      #220458 by nancyw for harking - added dependency on taxonomy.
      Missing period in help section.

    • February 9, 2008

      #219670 - fixed user disable if feature off.
      #219704 - restructure format settings page.
      #219700 - clear cache on an format settings submit.
      #219693 - added 'glossary/clearcache' to menu.

    • February 1, 2008

      Added 'no cache' op to hook_filter.
      Added check for mbstring.func_overload.
      #208217 by mwrochna - performance enhancement.

    • January 30, 2008

      Fixed related links to use setting.
      Changed page-per-letter to use setting for descriptions.
      Added settings link to the bottom

    • January 29, 2008

      Fixing no description feature.

    • January 28, 2008

      #208217 - escape mechanism (GHOP #135)
      added variables to uninstall

    • January 25, 2008

      #46711 - added setting for allowing no description.
      #187218 - changed "detailed description" text.

    • January 18, 2008

      fixed minor Coder review finds

  • Gotcha (8) - Gotcha intercepts the Contact form submission and checks an inserted hidden field to catch spambots. If something is there, Gotcha simply returns to the front page and ignores the message. The attempt is logged and saved in the database. If the field is empty, then the message is scanned by the Spam module, which has very good filters for catching spam. If everything looks okay, the message is passed on through to the Contact module for normal processing.
    Project page | Documentation | Change log
    • Next Commit

      Need to fix ID for spam_delete.

    • October 22, 2007

      #184842 - Added user contact form checking

      Reduced font size in table view because it was getting too wide.

    • October 18, 2007

      183635 - marked "go away" page as published

    • October 6, 2007

      Added spam_delete_contact, which is invoked during Spam's cron run to delete old spam.

      Changed the id that is passed to spam checking because it is eventually used to delete old email.

      #181302 - Added link from settings page to log page.

      #181302 - Removed "intercepted" message from View if the message is not marked as spam.

    • September 17, 2007

      Added code to increase spam probability if they've (by IP) done spam before.

      Added Spam filter checkbox (in Spam module).

      Added hook_update_5101 to alter the database to current needs.

      Add list links to view the whole message and to be able to send it if it really wasn't spam.

      174863 Fix problem with install code (plus hook_update_5102), add variable_del's.

      Change default for no "go away" page to the site_404 page.

    • September 11, 2007

      174722 - Added code to display "Go Away" page.

      Removed some extraneous code.

      Commented out some fields that were not needed. Will remove later.

      Removed hook_user as it was not really used.

      Added some help text.

      Removed a tab that snuck in.

    • September 7, 2007

      Added help text on the list page, including link to settings and indication of logging level.

  • Helpers (8) - Helpers is a collection of functions to help developers work smarter and faster.
    Project page | Documentation page | Change log
  • Longer Titles (2) - Drupal 6 changed the length of the title field for nodes to 255. This module brings that change to version 5.x.
    Project page | Documentation | Change log
  • Node_Type_Filter (4) - This is a simple module that allows for various lists, such as "taxonomy/term," to be filtered by content type.
    Project page | Documentation page | Change log
  • Register_Country (1) - Are you creating a country portal or a site dedicated to a specific country?
    The Register Country module is designed to intercept new registrations and check if the IP address being used is registered to a country that the site administrator has chosen. In this way, you may limit sign ups to your site to specific countries.
    Project page | Documentation page | Change log
  • Site Documentation (39) - To simplify it a bit, the Site Documentation module picks up information from various places within the Drupal environment. Some of the information comes from internal arrays, some is derived from system calls, and some comes directly from the database tables. This information is pulled into a report that can be used to document the site. In addition, it will detect some problems that may exist in your installation, and optionally correct them.
    Project page | Documentation page | Change log
  • Site Notes (14) - SiteNotes introduces a new content type, called, coincidentally, "sitenotes." It also creates a menu item in the Admin » Site building menu, where it's available only to privileged users; it's even protected by Access Control. So now all those little Post-Its™ and other scraps of paper can go right into your database where you can find them again. Create "How To" notes for your users, theme changes, CSS modifications, special code notes, and keep them safe AND available.
    Project page | Documentation | Change log
  • Spam Tokens (2) - This add-on module adds another tab to the Spam administration page that allows Spam module administrators to examine and modify the tokens used by the Bayesian filters to determine the probability of content being spam.
    Project page | Documentation | Change log
  • Spam_Tune (1) - The Spam_Tune module allows Spam module administrators to examine and modify system variables that are normally just defaulted in the Spam module. These variables are added to the 'Advanced' tab in the Spam settings. This module will probably never be contributed as it can be dangerous to alter the parameters exposed here.
    Project page & Documentation
    • September 14, 2007

      The Spam_Tune module allows Spam module administrators to examine and modify system variables that are normally just defaulted in the Spam module. These variables are added to the 'Advanced' tab in the Spam settings.

      This module will probably never be contributed as it can be dangerous to alter the parameters exposed here.

  • Taxonomy Browser (8) - Think of this as a 'build your own category view' page. A single page with each term organized nicely by vocabulary. The user selects the terms which she or he wants to see, and then this module constructs the right URL (e.g. taxonomy/view/and/3,4,5) and then displays matching nodes to the user.
    Project page | Documentation page | Change log
  • Taxonomy Delegate (1) - This module allows an administrator with "administer taxonomy" permission to delegate the administration of a vocabulary to a non-admin role.
    This module has not yet been contributed. We are looking for beta-testers.
    Project page & Documentation
  • Taxonomy Image (5) - Allow an administrator to associate image with taxonomy terms or vocabularies for display with the terms.
    Project page | Documentation page | Change log
    • February 4, 2008

      Took over as co-maintainer.

    • February 9, 2008

      #219505 for mariuss - fixed comment in install file.
      #164448 for bevan - added taxonomy_image_get_object, taxonomy_image_get_url.
      Corrected problems in taxonomy_image_save, taxonomy_image_delete.

    • February 7, 2008

      #164455 for bevan - rearranged settings page.
      #38472 for keizo - corrected HTML quotes, added title.
      Code review clean up.
      #178092 for armand0 - changed tags to drupal attributes array.

    • February 6, 2008

      #214441, #34017 for stenjo, kloomis - corrected joins.
      #173360 - removed ampersand from check_directory.

    • February 5, 2008

      #158882 for nancyw - add "Installed" message, link to settings page, variable deletes.
      #158872 for nancyw - remove fractions from width and height.
      #191039 for nancyw - add wrapper div around image.
      #101116 for landover - corrected PostgreSql install.
      added translation template.
      #173360 for dman - added file_check_directory before saving image.

Comments

Code?

Hey Nancy,
This is fabulous - nearly exactly what I'm trying to achieve... but I don't see the actual code snippet anywhere? Am I missing something?

thanks.

Hmm...

Guess I need to fix that.
<?php
  $vid
= 1;         // <---- put correct vocabulary ID here
 
$terms = taxonomy_get_tree($vid);
 
$items = array();

  foreach (
$terms as $term) {
   
$count = taxonomy_term_count_nodes($term->tid);

   
// Note: the number of nodes selected per term is controlled by 'feed_default_items' from the RSS publishing settings page.

   
$result = taxonomy_select_nodes(array($term->tid), 'or', 0, FALSE, 'n.sticky DESC, n.created DESC');
   
$children = array();
    while (
$node = db_fetch_object($result)) {
     
$children[] = node_view(node_load($node->nid), TRUE, FALSE, FALSE);
    }
   
$items[] = array(
     
'data' => l($term->name,'taxonomy/term/'.$term->tid)." (".$count.") - ".$term->description,
     
'children' => $children,
      );
   }
   return
theme('item_list', $items);
?>
<

i18n

Hi Nancy and others,

How do we make this piece of code have support for localization ?

All my category terms are translated via strings on the Localization module and i'm also using "Translations Block" that comes with the Internationalization (i18n) module to change languages "on queue".

But the "Nancy block" always shows terms in English.

i18n

I believe this has been opened as an issue against i18n.

Thanks!

Elegant. Appreciate all the ideas and code you are sharing here - really nice.