Ask AI
Hi! Ask me anything

Attachments

What are attachments' site terms?

Some macros user site terms as something well known within Elephant site components. This is not exactly true and the concept builds in template conventions. To make life easier, templates locate attachments' site terms under the terms folder in content/rot.txt. This file can be create or edited using the BaaS Tools -> Files option menu.

Attachments
Macro parser

Shows the attachments from a specific entity.

{@ attachment : entityPath [ : template ] }
Attributes Description Options Default
entityPath Path to a entity.
template Template used to show the items. editableTree tree

Shows the attachments from a specific entity in readonly mode.

{@ attachment-ro : entityPath [ : template ] }
Attributes Description Options Default
entityPath Path to a entity.
template Template used to show the items. tree-ro

Shows the attachments from a specific entity in readonly mode, after accepting site terms.

{@ attachment-rot : entityPath [ : template ] }
Attributes Description Options Default
entityPath Path to a entity.
template Template used to show the items. tree-rot

Shows the attachments from current user.

{@ self-attachments [ : template ] }
Attributes Description Options Default
template Template used to show the items. tree

Shows the attachments from current user in readonly mode.

{@ self-attachments-ro [ : template ] }
Attributes Description Options Default
template Template used to show the items. tree-ro

Shows the attachments from current user in readonly mode, after accepting site terms.

{@ self-attachments-rot [ : template ] }
Attributes Description Options Default
template Template used to show the items. tree-rot

English03/25/20 09:22Lluís Turró Cutiller