- The |agenda_memo
filter is applied to a date type tag (e.g. #DATE
or #DATE_MODIF
) and accepts four parameters:
- a description
- a title
- a URL representing the element with that title and description (e.g.
#URL_ARTICLE
) - a CSS class name
If the tag to which agenda_memo
is applied is not empty, it simply memorises the date and three first arguments into a table indexed by the last argument (the CSS class name) and will not return anything (no display).
The use of the last argument as an index for the element to be memorised makes it possible to have several calendars per page. In addition, the class specified here will be assigned to that element when displayed as a calendar with the agenda_affiche
filter. This means we can provide different styles to each element. The calendrier.css stylesheet offers 28 different styles to provide examples of the various calendar styles possible.
See also the |agenda_affiche and |agenda_connu filters.