Loading...
 
Skip to main content
Display articles by month

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

Shows links to the published articles for each month.

Go to the source code
Preferences required: feature_articles

Parameters Accepted Values Description Default Since
langfilter If set to a language code, only consider the articles in the specified language. Example values: en, fr. 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.
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.
more word If set to "y", displays a button labelled "More..." that links to a paginated view of the selected articles. Default: "n".
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.
categId int If set to a category identifier, only consider the articles in the specified category. Example value: 13. Not set by default.


Example

This code:

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


Would produce on this site:


See these pages for information that applies for all modules:


Created by dexl. Last Modification: Wednesday 07 August, 2019 08:47:12 GMT-0000 by Yves Kipondo.