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:
- Module — Overall introduction and overview
- Module Admin — Introduction to the module admin pages for site-wide and individual module settings
- Assigning Modules — How to select a module to configure it
- Module Settings Interface — Interface for configuring individual module settings
- Module Settings Parameters — Explanation of standard parameter settings for modules
- Creating Custom Modules — How to create user modules
- Index of Modules — Links to the documentation of individual modules
- User Modules — How (if the feature is active) users can choose and place their modules
- Mods Type Modules — Links to modules that are installed as components