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 moduleAn add-on, or extension, to Drupal to provide additional functionality; written in PHP. is still in development. In its current state it can only be used for monthly meetings and only supports one matrix per siteA logically grouped set of content - also web 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
    • November 16, 2007

      Initial D5 release.

    • January 25, 2008

      D6: Complete the code for the D6 upgrade.

      D5: Back port some Coder identified SQLStructured Query Language - a language for accessing a database. changes.

    • January 24, 2008

      Fixed minor problems uncovered in 6.x conversion.
      #213366 - user name was missing from node.

    • January 22, 2008

      #212955 - added check and list for authenticated user as expert.
      Corrected description in schema.
      Corrected SQLStructured Query Language - a language for accessing a database. for block when can_edit, but not expert.

    • January 17, 2008

      #211064 - corrected PostgreSql installation code.

    • January 10, 2008

      #208232 - Corrected help text on preselected category.
      #208254 - added expert term description on ask page

    • January 6, 2008

      Added even/odd classes to expert table on settings page.

    • January 4, 2007

      #204465 by nancyw - proper checking for experts.

      Message in "Ask" changes by user permission.

      Other miscellaneous things fixed.

    • December 27, 2007

      Corrected schema problems and added variables to be deleted.

      #202653 - added capability to "suggest" a category.

      Added hook_taxonomy to handle category maintenance.

    • December 19, 2007

      #195322 - removed wordwrap.

  • 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 moduleAn add-on, or extension, to Drupal to provide additional functionality; written in PHP. fills an oversight by the D5 developers. When they moved the part of CCKContent Construction Kit - a Drupal module that allows you to create new content types (sometimes called CCKContent Construction Kit - a Drupal module that allows you to create new content types-Lite) into core for creating new content types, they forgot the analog to taxonomy/term/xxx, that is node/type/xxx. This simple moduleAn add-on, or extension, to Drupal to provide additional functionality; written in PHP. provides that function.

      This moduleAn add-on, or extension, to Drupal to provide additional functionality; written in PHP. has not been contributed due to disparaging comments from more advanced Drupallers.

  • Glossary (25) - 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 moduleAn add-on, or extension, to Drupal to provide additional functionality; written in PHP.. 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 linkThe technique which points to another page, anywhere on the Internet, from the current page. 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
    • September 6, 2007

      Initial release for Drupal

      Drupal

      An open-source content management system that is used on this site and is taking over the world. 5.x. - See the module home page.

    • Next Commit

      Need to fix ID for spamUnsolicited email or web site postings that are undesirable, usually containing links to other sites._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 spamUnsolicited email or web site postings that are undesirable, usually containing links to other sites._delete_contact, which is invoked during SpamUnsolicited email or web site postings that are undesirable, usually containing links to other sites.'s cron run to delete old spamUnsolicited email or web site postings that are undesirable, usually containing links to other sites..

      Changed the id that is passed to spamUnsolicited email or web site postings that are undesirable, usually containing links to other sites. checking because it is eventually used to delete old email.

      #181302 - Added linkThe technique which points to another page, anywhere on the Internet, from the current page. from settings page to log page.

      #181302 - Removed "intercepted" message from View if the message is not marked as spamUnsolicited email or web site postings that are undesirable, usually containing links to other sites..

    • September 17, 2007

      Added code to increase spamUnsolicited email or web site postings that are undesirable, usually containing links to other sites. probability if they've (by IP) done spamUnsolicited email or web site postings that are undesirable, usually containing links to other sites. before.

      Added SpamUnsolicited email or web site postings that are undesirable, usually containing links to other sites. filter checkbox (in SpamUnsolicited email or web site postings that are undesirable, usually containing links to other sites. moduleAn add-on, or extension, to Drupal to provide additional functionality; written in PHP.).

      Added hook_update_5101 to alter the databaseA collection of data related to an application. to current needs.

      Add list links to view the whole message and to be able to send it if it really wasn't spamUnsolicited email or web site postings that are undesirable, usually containing links to other sites..

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

      Change default for no "go away" page to the siteA logically grouped set of content - also web 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 linkThe technique which points to another page, anywhere on the Internet, from the current page. 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
    • January 19, 2008

      Initial release for 5.x

    • February 7, 2008

      Added drupal

      Drupal

      An open-source content management system that is used on this site and is taking over the world._parse_htmlHyperText Markup Language - the coding standard for a web page..

    • February 1, 2008

      #216771 - add themeFor web sites, this refers to the "look and feel" of the site. It is also used to describe the code to produce that look._paragraph and themeFor web sites, this refers to the "look and feel" of the site. It is also used to describe the code to produce that look._heading.

    • January 31, 2008

      #216339 - backport db_placeholders.
      #216386 - added db_result_array feature.

    • January 28, 2008

      #215086 by nancyw - changed themeFor web sites, this refers to the "look and feel" of the site. It is also used to describe the code to produce that look._definition_list to handle terms as an array.

    • January 27, 2008

      Added dependency to helpers_form
      Moved themeFor web sites, this refers to the "look and feel" of the site. It is also used to describe the code to produce that look. functions to separate moduleAn add-on, or extension, to Drupal to provide additional functionality; written in PHP. (per Ber)

    • January 24, 2008

      Corrected some comments.
      #213717 - fixed <none> in themeFor web sites, this refers to the "look and feel" of the site. It is also used to describe the code to produce that look._none_option.
      #213723 - add month_select_for_form.
      Capitalized "Countries" and "States," corrected some comments (form).
      Added "multiple" options to all select functions, added size to show more than one option.
      #213753 - add year_select_for_form.

    • January 23, 2008

      Corrected some coding violations.

  • 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
    • February 1, 2008

      added 'no cache' check on filters.
      added output of mbstring.func_overload.

    • January 17, 2008

      Fixed an edge case in sitedoc_show_table for column names containing blanks.

    • January 1, 2007

      Added sitedoc_show_table feature for a generic table display; added "show contents" operation to table status section.

    • December 12, 2007

      Added Input formats and filters section.

      Some clean up.

    • December 3, 2007

      Added moduleAn add-on, or extension, to Drupal to provide additional functionality; written in PHP. path checking.

    • November 12, 2007

      Added Taxonomy_image support to "sitedoc_term_count_by_type".

      #191610 - fixed typo that caused loss of archive settings.

      #161314 - Changed archive saving to fopen/fwrite method.

      #191612 - Added correct HTMLHyperText Markup Language - the coding standard for a web page. to archive file.

    • November 11, 2007

      #191136 - Made sections collapsible.

      #191149 - Added linkThe technique which points to another page, anywhere on the Internet, from the current page. to index change discussion. Added ALTER message.

      Changed "manually" to "Never" and "Debug" to "Always" on archive options.

      Several translation string improvements.

      Several counts fixed to avoid D6 problems.

    • November 2, 2007

      Added phpRecursive acronym for "PHP: Hypertext Preprocessor" - is a widely-used Open Source general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. error_reporting level, display_errors setting, and precision setting. Corrected safe_mode.

    • October 28, 2007

      Added "debug" to archive run frequency to allow it to run every time cron runs.

      Added "Run Cron Now" button to Archive settings page.

      Removed array_merge in settings page.

      Fixed log message error.

  • 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
    • February 14, 2008

      #160574 for tamoraj - searching allowed as an option.
      #158318 for nancyw - fixed "Edit" tab.
      #177436 for mel55113 - Allow "Recent" block to honor sticky, weight, and last changed.
      #178019 Add "add new sitenote" linkThe technique which points to another page, anywhere on the Internet, from the current page. in the block.
      Added min-word count of 5.
      Corrected Coder finds.
      Removed "LIMIT" from queries - added db_query_range.

    • August 4, 2007

      #164501 Fixed quotes problem in uninstall code.

    • July 28, 2007

      Added Recent Site NotesA Drupal contributed module by Nancy Wichmann for hidden design or how-to notes. block, readme info, uninstall.

    • July 27, 2007

      Corrected some Coder finds.

      #162334 Corrected form labels problem.

    • July 22, 2007

      Removed settings page message - there is none

    • July 19, 2007

      #160574 Added hook_update_index to remove sitenotes content from search index.

      Added item to hook_form_alter to exclude sitenotes from advanced search

    • July 17, 2007

      #159952 Fixed pager problem

    • July 13, 2007

      added setting linkThe technique which points to another page, anywhere on the Internet, from the current page. to install

    • July 10, 2007

      Changed to class

      Modified query to standard node ORDER BY (sticky and created)

      Added when SiteA logically grouped set of content - also web site. Note is marked sticky.

      Added weight field to change the order of the sitenotes if desired. This uses the sticky field just like the Weight moduleAn add-on, or extension, to Drupal to provide additional functionality; written in PHP. does. It requires using update.phpRecursive acronym for "PHP: Hypertext Preprocessor" - is a widely-used Open Source general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. to initialize the sticky field.

  • 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 SpamUnsolicited email or web site postings that are undesirable, usually containing links to other sites._Tune moduleAn add-on, or extension, to Drupal to provide additional functionality; written in PHP. allows SpamUnsolicited email or web site postings that are undesirable, usually containing links to other sites. moduleAn add-on, or extension, to Drupal to provide additional functionality; written in PHP. administrators to examine and modify system variables that are normally just defaulted in the SpamUnsolicited email or web site postings that are undesirable, usually containing links to other sites. moduleAn add-on, or extension, to Drupal to provide additional functionality; written in PHP.. These variables are added to the 'Advanced' tab in the SpamUnsolicited email or web site postings that are undesirable, usually containing links to other sites. settings.

      This moduleAn add-on, or extension, to Drupal to provide additional functionality; written in PHP. 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
    • January 18, 2008

      Initial release for 5.x - new maintainer.

    • February 4, 2008

      #15869 by nancyw - added ability to pick up child terms

    • February 1, 2008

      added hook_themeFor web sites, this refers to the "look and feel" of the site. It is also used to describe the code to produce that look.

    • January 27, 2008

      6.x Moved drupal

      Drupal

      An open-source content management system that is used on this site and is taking over the world._add_cssCascading Style Sheet - a hierarchical means of specifying how to format HTML elements on the page into hook_init.

    • January 26, 2008

      5.x Fixed uninstall message.
      5.x Fixed a tab character.

      6.x Initial release for 6.x

    • January 21, 2008

      Made content type display quicker and more compact.
      Fixed typo in selection type description.
      #212531 - made category selection always multiple (Moshe agreed).
      #27376 - added ability to omit content types from selection list.
      #212564 - added node count options to both terms and types.

    • January 19, 2008

      Minor corrections to work with Node_type_filter.

    • January 18, 2008

      #211610 - add uninstall function.
      #211596 - corrected coding standards.
      #72536 - corrected query structure that affected PostgreSql.
      Better settings menu description.
      #85797 - added checkbox/radio capability

  • 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 HTMLHyperText Markup Language - the coding standard for a web page. quotes, added title.
      Code review clean up.
      #178092 for armand0 - changed tags to drupal

      Drupal

      An open-source content management system that is used on this site and is taking over the world. 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, linkThe technique which points to another page, anywhere on the Internet, from the current page. 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.

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 moduleAn add-on, or extension, to Drupal to provide additional functionality; written in PHP. and i'm also using "Translations Block" that comes with the Internationalization (i18n) moduleAn add-on, or extension, to Drupal to provide additional functionality; written in PHP. 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.