There should be an option in the module settings to only show years that actually have content.

Why? As it stands now, the module will show a set number of years whether they have content or not. The default displays three prior years. So if you have a new site (like I do) the module shows the current year (linked to archived content) and three prior years that link to nothing. There is a hack to work around this (changing the $num_to_display variable), but as things stand now, the administrator would have to remember at the start of a new year to increment that integer that is hardcoded into this variable.

The alternative would be to keep the $num_to_display variable as is, but if a lessor number of years have content, only those years would be displayed.

Comments

Susurrus’s picture

Status: Active » Fixed

Fixed in HEAD (DRUPAL6--0-3-dev)

Anonymous’s picture

Status: Fixed » Closed (fixed)