Loading...
 
Skip to main content

History: Module articles

Source of version: 22 (current)

Copy to clipboard
             # Module articles

Use the **Articles** module to include a list of articles in a wiki page. Unlike the ((Module last_articles|last_articles)) and ((Module top_articles|top_articles)) modules and the plugin ((PluginArticles)), the **Articles** module will show only the article's title.

## Parameters

{pluginmanager module="articles"}

## Usage

To use the Articles module in a wiki page: 
{CODE()}
{MODULE(module=articles,max=XXX,topic=XXX) /} 
{CODE}

If you want to show all the articles of the topic a or the topic b, tou need to use topic=a+b. If you want not to display the articles except those with topic a or b, you need to use topic=!a+b. The same feature and syntax applies for topicId and type.

## Example

This code: 
{CODE(wrap="1")}{BOX(bg=>white)}{MODULE(module=articles, more=y, max=5, start=1, title=Most Recent Articles, topic=!News+Help Wanted) /}{BOX}{CODE} 
{SPLIT(colsize=>30%|20%|20%)} 
Produces on this site: 
{MODULE(module=articles, more=y, max=5, start=1, title=Most Recent Articles, topic=!News+Help Wanted) /} 
--- <br /> 
{BOX(bg=>white)}*Note that article types News and Help Wanted are excluded, the first article of an included type is skipped, and a custom title is used. Click on the "More..." link for the complete list of articles to see how the articles were filtered.*{BOX} 
--- <br /> 
{SPLIT}

## Related Pages

{include page="Module and Plugin Includes" start="startinclude1a" stop="stopinclude1a"}