Ask AI
Hi! Ask me anything

Publications

How images are selected in image templates?

Publication macros provide several image templates. Because a publication macro lists a number of publications, images can't be selected individually. By default, the shown images are those in the root publishable folder. For other conventions see anchor.

The exception, the grid template

The grid template depends on a single image and uses the priorized folder. More information about publishable folders in anchor.

Publications
Macro parser

Lists publications with page navigation.

{@ publication : context [ : groupId [ : categoryId [ : count [ : template [ : lang ] ] ] ] ] }
Attributes Description Options Default
context Elephant context for links.
groupId Group identifier. 0
categoryId Category identifier. 0
count Number of items to show. 10
template Template used to show the items. entryTitleImage, entry, eventTitle, eventTitleImage, grid, event, entryTitle summary
lang Elephant language.

Lists publications without navigation.

{@ publication-summary : context [ : groupId [ : categoryId [ : count [ : template [ : lang ] ] ] ] ] }
Attributes Description Options Default
context Elephant context for links.
groupId Group identifier. 0
categoryId Category identifier. 0
count Number of items to show. 10
template Template used to show the items. entryTitleImage, entry, eventTitle, eventTitleImage, grid, event, entryTitle summary
lang Elephant language.

Shows a full publication.

{@ single-publication : id [ : template ] }
Attributes Description Options Default
id Identifier.
template Template used to show the items. full

English03/25/20 13:07Lluís Turró Cutiller