User Tools

Site Tools


tn:features

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tn:features [2008/06/08 09:01] fgmtn:features [2020/11/23 17:23] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Drupal compatibility ====== ====== Drupal compatibility ======
  
-  * 2008-06-09, +  * 2009-07:  
 +    * D7 dev branch compatible with D7 UNSTABLE 7 with 100% unit test coverage 
 +    * D6 release available 
 +    * D6 dev version has 100% unit test coverage 
 +  * 2008-06
     * The D6 branch is now in RC, should be final by the end of the month     * The D6 branch is now in RC, should be final by the end of the month
     * The dev branch for D7 will be opened this month.     * The dev branch for D7 will be opened this month.
-  * 2007-06-12, branches have been created. The D4.6/D4.7 versions are considered stable, and the code have been overhauled to PHP5 OOP for Drupal +  * 2007-06branches have been created. The D4.6/D4.7 versions are considered stable, and the code have been overhauled to PHP5 OOP for Drupal 
-  * 2006-10-01, taxonews is still compatible with BOTH D4.6.x and D4.7.x using the same version of taxonews.module +  * 2006-10taxonews is still compatible with BOTH D4.6.x and D4.7.x using the same version of taxonews.module
  
 ====== Paths ====== ====== Paths ======
Line 29: Line 32:
  
 A static content can be supplied as a default for each block independently when there is no node matching both tid and freshness requirements. This is defined on the block configuration page. A static content can be supplied as a default for each block independently when there is no node matching both tid and freshness requirements. This is defined on the block configuration page.
 +
  
 ====== Themeability ===== ====== Themeability =====
  
  
 +Taxonews defines one themeable function (template in the D7 version)
  
-Taxonews defines one themeable function +<code php>theme_taxonews_block_view($delta, $arItems array(), $tid)
- +
- +
- +
-<code php>theme_taxonews_block_view($delta, $items null, $tid) +
 </code> </code>
- 
- 
  
 Using the value of $delta, it is possible to theme each block differently in a site-specific theme. The title of each block is defined as a configuration option for the block Using the value of $delta, it is possible to theme each block differently in a site-specific theme. The title of each block is defined as a configuration option for the block
- 
- 
  
 The default theme displays: The default theme displays:
- 
- 
  
   * the titles and links to a number of nodes matching the chosen term, themed using using theme_item_list. The maximum number of nodes displayed is determined by the smallest of    * the titles and links to a number of nodes matching the chosen term, themed using using theme_item_list. The maximum number of nodes displayed is determined by the smallest of 
- 
     * the number of nodes younger than variable_get('taxonews_lifetime', Taxonews::VAR_LIFETIME)      * the number of nodes younger than variable_get('taxonews_lifetime', Taxonews::VAR_LIFETIME) 
- 
     * 5     * 5
- 
   * an "Archive" link to the list of all nodes matching the chosen term with taxonomy depth unspecified   * an "Archive" link to the list of all nodes matching the chosen term with taxonomy depth unspecified
- 
   * an optional RSS feed icon, displayed if variable_get(Taxonews::VAR_FEED, true) with taxonomy depth 0   * an optional RSS feed icon, displayed if variable_get(Taxonews::VAR_FEED, true) with taxonomy depth 0
tn/features.1212915696.txt.gz · Last modified: 2020/11/23 17:23 (external edit)