Loading...
 

Module article_archives

Introduced in version 3.2

This module displays the articles by month, and also shows the number of articles in that month in the module.

Parameters


Go to the source code
Preferences required: feature_articles

Parameters Accepted Values Description Default Since
more word If set to "y", displays a button labelled "More..." that links to a paginated view of the selected articles. Default: "n".
categId int If set to a category identifier, only consider the articles in the specified category. Example value: 13. Not set by default.
topic If set to a list of article topic names separated by plus signs, only consider the articles in the specified article topics. If the string is preceded by an exclamation mark (\"!\"), the effect is reversed, i.e. articles in the specified article topics are not considered. Example values: Switching to Tiki, !Switching to Tiki, Tiki upgraded to version 6+Our project is one year old, !Tiki upgraded to version 6+Our project is one year old+Mr. Jones is appointed as CEO.Not set by default.
topicId If set to a list of article topic identifiers separated by plus signs, only consider the articles in the specified article topics. If the string is preceded by an exclamation mark (\"!\"), the effect is reversed, i.e. articles in the specified article topics are not considered. Example values: 13, !13, 1+3, !1+5+7. Not set by default.
type If set to a list of article type names separated by plus signs, only consider the articles of the specified types. If the string is preceded by an exclamation mark (\"!\"), the effect is reversed, i.e. articles of the specified article types are not considered. Example values: Event, !Event, Event+Review, !Event+Classified+Article. Not set by default.
langfilter If set to a language code, only consider the articles in the specified language. Example values: en, fr. Not set by default.


Example

This code:

{MODULE(module="article_archives" max="5") /}


Would produce on this site:

Article Archives

  1. March 2009 [1]
  2. June 2008 [1]
  3. May 2008 [1]
  4. December 2007 [1]
  5. August 2007 [1]
  6. July 2007 [1]
  7. June 2007 [1]
  8. April 2007 [1]
  9. March 2007 [1]
  10. December 2006 [2]
  11. October 2006 [2]
  12. September 2006 [4]
  13. August 2006 [2]


See these pages for information that applies for all modules:

List Slides