User Tools

Site Tools


tn:features

This is an old revision of the document!


Table of Contents

Paths

Taxonews processes no drupal path. It only provides blocks.

Blocks

Taxonew provides one block per taxonomy term from ONE single vocabulary used to classify news.

The blocks can be rename

Themeability

Taxonews defines one themeable function

theme_taxonews_block_view($delta, $items = null, $tid)

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 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_LIFETIME)
    • 5
  • 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
tn/features.1159815754.txt.gz · Last modified: 2020/11/23 17:23 (external edit)