Skip to content

PageCalendar Module

Documentation > Modules > PageCalendar Module

Description

The PageCalendar module creates a blogger-friendly calendar that displays the number of pages (articles) created per year and month. It also works great with the ListPages module as shown below.

We are still working on this module so the final syntax and specifications might change.

Attributes

attributerequiredallowed valuesdefaultdescription
categorynocomma- or space-separated category names or "*" for whole wiki, or @URLcurrent categorysets the scope of processed pages
tagsnocomma- or space-separated tag names with+and-modifiers,/or@URLnonelists tags that are used as a criteria to select pages, the "+" before the tag makes it required, "-" means "without a tag" and tags without modifiers translate to "pages that have any of those tags";/"@URL" takes the tags from the URL
startPageortargetPagenoany valid wiki pagecurrent pagesets the page that will be displayed when any of the dates is clicked
urlAttrPrefixnoany alphanumericnoneprefix for the parameters passed via the URL e.g. to theListPages module

If you are using PageCalendar with ListPages, make sure that the urlAttrPrefix has the same value in both modules.

Parameters that accept the @URL value, i.e. allow for passing the value in the URL, also allow for default values similar to the ListPages module.

Examples

List pages in the documentation section grouped by year and month, linked with the ListPages module:

[[module PageCalendar category="doc"]]
[[module ListPages category="doc" perPage="7" date="@URL" separate="false" prependLine="||~ Page||~ Date created||~ Created by ||"]]
|| %%linked_title%% || %%date%% || %%author%% ||
[[/module]]