|agenda_affiche filter is applied to a tag returning the number of elements to be displayed (generally a
#TOTAL_BOUCLE tag) and accepts three parameters:
- a text which will be displayed in the filtered tag returns nothing (0 elements to be displayed);
- a type of calendar (
- the CSS class names used in calling the preceding filter which will be used to filter the elements to be displayed.
Of the filtered tag is empty, this filter will return its first argument. Otherwise it returns the elements memorised by the
agenda_memofilter, formatted as per the type of calendar requested.
Only the elements indexed by
agenda_memo with one of the CSS classes indicated in the last argument will be displayed (or all elements if that parameter is omitted). This means we can filter the elements to split them over several calendars on the same page.
periode type will restrict the display to the period including the oldest and most recent elements that were found, which makes it possible to assign a very large period without requiring an over long display result.
displays the articles published in the current week in a calendar format.