Pregunta a l'IA
Hola! Pregunta'm qualsevol cosa
Modules

Current list of modules exposing macros.


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 ] }
Atributs Descripció Opcions Per defecte
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 ] }
Atributs Descripció Opcions Per defecte
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 ] }
Atributs Descripció Opcions Per defecte
entityPath Path to a entity.
template Template used to show the items. tree-rot

Shows the attachments from current user.

{@ self-attachments [ : template ] }
Atributs Descripció Opcions Per defecte
template Template used to show the items. tree

Shows the attachments from current user in readonly mode.

{@ self-attachments-ro [ : template ] }
Atributs Descripció Opcions Per defecte
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 ] }
Atributs Descripció Opcions Per defecte
template Template used to show the items. tree-rot

Calendar
What can I do with the calendar URL?

The calendar URL generates an on line calendar for the requesting user. Includes those parts of modules the user is interested or participates in.

With this in mind, you can use this URL to import the calendar events into your favorite calendar application. See specific instructions on how to import calendars in your calendar application.

Calendar
Macro parser

Renders calendar URL for current user.

{@ calendar : type }
Atributs Descripció Opcions Per defecte
type Only items with type. url

Contacts
Groups

Groups is an application wide organizational utility. For instance, products may use categories of groups when exposed to the web store.

Directory

Directory is a group of contacts that share some of their data with other Directory members. There is a full directory listing, but also has other applications. For instance, only members of the Directory can see which members are registered and assisted to Convocations.

Contacts
Macro parser

Lists groups in a tree format.

{@ groups : context : group-category }
Atributs Descripció Opcions Per defecte
context Elephant context for links.
group-category Category identifier of the groups.

Lists contacts with page navigation.

{@ contacts [ : count [ : syndicationId [ : summaryTemplate [ : context [ : fullTemplate ] ] ] ] ] }
Atributs Descripció Opcions Per defecte
count Number of items to show. 10
syndicationId Sindication code. See Social Groups in Contacts.
summaryTemplate Template used to show the items in summary mode. summary
context Elephant context for links.
fullTemplate Template used to show one items in full mode. full

{@ contacts-summary [ : count [ : syndicationId [ : summaryTemplate [ : context [ : fullTemplate ] ] ] ] ] }
Atributs Descripció Opcions Per defecte
count Number of items to show. 10
syndicationId Sindication code. See Social Groups in Contacts.
summaryTemplate Template used to show the items in summary mode. summary
context Elephant context for links.
fullTemplate Template used to show one items in full mode. full

Lists contacts in grouping with page navigation.

{@ contacts-by-group [ : count [ : groupings [ : summaryTemplate ] ] ] }
Atributs Descripció Opcions Per defecte
count Number of items to show. 10
groupings Items groupings.
summaryTemplate Template used to show the items in summary mode. summary

Lists contacts in grouping without navigation.

{@ contacts-by-group-summary [ : count [ : groupings [ : summaryTemplate ] ] ] }
Atributs Descripció Opcions Per defecte
count Number of items to show. 10
groupings Items groupings.
summaryTemplate Template used to show the items in summary mode. summary

Shows contact count.

{@ contactcount [ : syndicationId ] }
Atributs Descripció Opcions Per defecte
syndicationId Sindication code. See Social Groups in Contacts.

Lists contacts with specific connector value with page navigation.

{@ contacts-connector : count : connector [ : value [,value...] [ : summaryTemplate [ : context [ : fullTemplate ] ] ] ] }
Atributs Descripció Opcions Per defecte
count Number of items to show. 10
connector Connector name.
value Value to search for.
summaryTemplate Template used to show the items in summary mode. summary
context Elephant context for links.
fullTemplate Template used to show one items in full mode. full

Lists contacts with specific connector value without navigation.

{@ contacts-connector-summary : count : connector [ : value [,value...] [ : summaryTemplate [ : context [ : fullTemplate ] ] ] ] }
Atributs Descripció Opcions Per defecte
count Number of items to show. 10
connector Connector name.
value Value to search for.
summaryTemplate Template used to show the items in summary mode. summary
context Elephant context for links.
fullTemplate Template used to show one items in full mode. full

Shows a text depending on whether user's my-data is valid or not.

{@ my-data : valid : not-valid }
Atributs Descripció Opcions Per defecte
valid
not-valid

Creates an editable form for web descriptors.

{@ describe-it : entityPath [ : id ] }
Atributs Descripció Opcions Per defecte
entityPath Path to a entity.
id Identifier. Default

Convocation check interface for attendance control.

{@ convocation-check [ : template ] }
Atributs Descripció Opcions Per defecte
template Template used to show the items. check

Shows convocations with page navigation.

{@ convocations : mode [ : context [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
mode Mode to use. all, closed, open
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Shows convocations without navigation.

{@ convocation-summary : mode [ : context [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
mode Mode to use. all, closed, open
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Shows public and user's convocations with page navigation.

{@ myconvocations : mode [ : context [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
mode Mode to use. all, closed, open
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Shows public and user's convocations without navigation.

{@ myconvocation-summary : mode [ : context [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
mode Mode to use. all, closed, open
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Shows public convocations with page navigation.

{@ public-convocations : mode [ : context [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
mode Mode to use. all, closed, open
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Shows public convocations without navigation.

{@ public-convocation-summary : mode [ : context [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
mode Mode to use. all, closed, open
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

{@ old-directory [ : context [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

Renders the directory context.

{@ directory [ : type [,type...] [ : context [ : count [ : template ] ] ] ] }
Atributs Descripció Opcions Per defecte
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ directory-summary [ : type [,type...] [ : context [ : count [ : template ] ] ] ] }
Atributs Descripció Opcions Per defecte
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ directory-ranking [ : type [,type...] [ : context [ : count [ : template ] ] ] ] }
Atributs Descripció Opcions Per defecte
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ directory-summary-ranking [ : type [,type...] [ : context [ : count [ : template ] ] ] ] }
Atributs Descripció Opcions Per defecte
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ directory-restricted [ : type [,type...] [ : context [ : count [ : template ] ] ] ] }
Atributs Descripció Opcions Per defecte
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ directory-summary-ranking-restricted [ : type [,type...] [ : context [ : count [ : template ] ] ] ] }
Atributs Descripció Opcions Per defecte
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ directory-ranking-restricted [ : type [,type...] [ : context [ : count [ : template ] ] ] ] }
Atributs Descripció Opcions Per defecte
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ syndications [ : type [,type...] [ : syndicationId [ : context [ : count [ : template ] ] ] ] ] }
Atributs Descripció Opcions Per defecte
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
syndicationId Sindication code. See Social Groups in Contacts.
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ syndications-summary [ : type [,type...] [ : syndicationId [ : context [ : count [ : template ] ] ] ] ] }
Atributs Descripció Opcions Per defecte
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
syndicationId Sindication code. See Social Groups in Contacts.
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ syndications-ranking [ : type [,type...] [ : syndicationId [ : context [ : count [ : template ] ] ] ] ] }
Atributs Descripció Opcions Per defecte
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
syndicationId Sindication code. See Social Groups in Contacts.
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ syndications-summary-ranking [ : type [,type...] [ : syndicationId [ : context [ : count [ : template ] ] ] ] ] }
Atributs Descripció Opcions Per defecte
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
syndicationId Sindication code. See Social Groups in Contacts.
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ syndications-restricted [ : type [,type...] [ : syndicationId [ : context [ : count [ : template ] ] ] ] ] }
Atributs Descripció Opcions Per defecte
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
syndicationId Sindication code. See Social Groups in Contacts.
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ syndications-summary-ranking-restricted [ : type [,type...] [ : syndicationId [ : context [ : count [ : template ] ] ] ] ] }
Atributs Descripció Opcions Per defecte
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
syndicationId Sindication code. See Social Groups in Contacts.
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

{@ syndications-ranking-restricted [ : type [,type...] [ : syndicationId [ : context [ : count [ : template ] ] ] ] ] }
Atributs Descripció Opcions Per defecte
type Only items with type. all, typed, companies, professionals, centers, students, educators, singletons all
syndicationId Sindication code. See Social Groups in Contacts.
context Elephant context for links.
count Number of items to show. 12
template Template used to show the items. summary

Shows services with page navigation.

{@ services : role : type [ : context [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Shows services without navigation.

{@ service-summary : role : type [ : context [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Shows user's company services with page navigation.

{@ myservices : role : type [ : context [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Shows user's company services without navigation.

{@ myservice-summary : role : type [ : context [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Shows last services with page navigation.

{@ lastservices : role : type [ : context [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Shows last services without navigation.

{@ lastservice-summary : role : type [ : context [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Shows user's company last services with page navigation.

{@ mylastservices : role : type [ : context [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Shows user's company last services without navigation.

{@ mylastservice-summary : role : type [ : context [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

{@ register [ : template ] }
Atributs Descripció Opcions Per defecte
template Template used to show the items. signup

{@ profile : contactIds [ : template ] }
Atributs Descripció Opcions Per defecte
contactIds
template Template used to show the items. summary

{@ myprofile [ : template ] }
Atributs Descripció Opcions Per defecte
template Template used to show the items. profile

DAO
Search capabilities

Dao search are preferably created using the elephant/conf context notation, which is not context dependent on its editable property. The dao-search macro should be mainly used in conjunction with an iterable macro.

DAO
Macro parser

Creates an instance of a search form. Iterators use these instances to provide search capabilities.

{@ dao-search : context }
Atributs Descripció Opcions Per defecte
context Elephant context for links.

Dossier
Using editable forms

By default, the Dossiers module provides all necessary forms to edit data. It's recommended not to use editable forms macros, but there might be exceptional use cases. Provide you need a single entry point to add information to a fixed issue, then an editable form will solve the case.

Dossier
Macro parser

Shows issues with page navigation.

{@ issues : status [ : context [ : categoryId [ : dossierId [ : count [ : template ] ] ] ] ] }
Atributs Descripció Opcions Per defecte
status Only items with status. all, closed, onwork
context Elephant context for links.
categoryId Category identifier. 0
dossierId Dossier identifier. 0
count Number of items to show. 10
template Template used to show the items. kbSummary, questions, motions, mySummary, proposals summary

Shows issues without navigation.

{@ issue-summary : status [ : context [ : categoryId [ : dossierId [ : count [ : template ] ] ] ] ] }
Atributs Descripció Opcions Per defecte
status Only items with status. all, closed, onwork
context Elephant context for links.
categoryId Category identifier. 0
dossierId Dossier identifier. 0
count Number of items to show. 10
template Template used to show the items. kbSummary, questions, motions, mySummary, proposals summary

Shows issues restricted to current user with page navigation.

{@ myissues : status [ : context [ : categoryId [ : dossierId [ : count [ : template ] ] ] ] ] }
Atributs Descripció Opcions Per defecte
status Only items with status. all, closed, onwork
context Elephant context for links.
categoryId Category identifier. 0
dossierId Dossier identifier. 0
count Number of items to show. 10
template Template used to show the items. kbSummary, questions, motions, mySummary, proposals summary

Shows issues restricted to current user without navigation.

{@ myissues-summary : status [ : context [ : categoryId [ : dossierId [ : count [ : template ] ] ] ] ] }
Atributs Descripció Opcions Per defecte
status Only items with status. all, closed, onwork
context Elephant context for links.
categoryId Category identifier. 0
dossierId Dossier identifier. 0
count Number of items to show. 10
template Template used to show the items. kbSummary, questions, motions, mySummary, proposals summary

Shows issues where current user participates as assistant, with page navigation.

{@ assisted-issues : status [ : context [ : categoryId [ : dossierId [ : count [ : template ] ] ] ] ] }
Atributs Descripció Opcions Per defecte
status Only items with status. all, closed, onwork
context Elephant context for links.
categoryId Category identifier. 0
dossierId Dossier identifier. 0
count Number of items to show. 10
template Template used to show the items. kbSummary, questions, motions, mySummary, proposals summary

Shows issues where current user participates as assistant, without navigation.

{@ assisted-issue-summary : status [ : context [ : categoryId [ : dossierId [ : count [ : template ] ] ] ] ] }
Atributs Descripció Opcions Per defecte
status Only items with status. all, closed, onwork
context Elephant context for links.
categoryId Category identifier. 0
dossierId Dossier identifier. 0
count Number of items to show. 10
template Template used to show the items. kbSummary, questions, motions, mySummary, proposals summary

Shows dossiers with page navigation.

{@ dossiers : status [ : context [ : categoryIds [,categoryIds...] [ : dossierId [ : count [ : template ] ] ] ] ] }
Atributs Descripció Opcions Per defecte
status Only items with status. all, closed, frozen, not-frozen, onwork
context Elephant context for links.
categoryIds Category identifiers.
dossierId Dossier identifier.
count Number of items to show. 10
template Template used to show the items. projects, dossiers summary

Shows dossiers without navigation.

{@ dossier-summary : status [ : context [ : categoryIds [,categoryIds...] [ : dossierId [ : count [ : template ] ] ] ] ] }
Atributs Descripció Opcions Per defecte
status Only items with status. all, closed, frozen, not-frozen, onwork
context Elephant context for links.
categoryIds Category identifiers.
dossierId Dossier identifier.
count Number of items to show. 10
template Template used to show the items. projects, dossiers summary

Shows dossiers where current user pparticipates, with page navigation.

{@ mydossiers : status [ : context [ : categoryIds [,categoryIds...] [ : dossierId [ : count [ : template ] ] ] ] ] }
Atributs Descripció Opcions Per defecte
status Only items with status. all, closed, frozen, not-frozen, onwork
context Elephant context for links.
categoryIds Category identifiers.
dossierId Dossier identifier.
count Number of items to show. 10
template Template used to show the items. projects, dossiers summary

Shows dossiers where current user pparticipates, without navigation.

{@ mydossier-summary : status [ : context [ : categoryIds [,categoryIds...] [ : dossierId [ : count [ : template ] ] ] ] ] }
Atributs Descripció Opcions Per defecte
status Only items with status. all, closed, frozen, not-frozen, onwork
context Elephant context for links.
categoryIds Category identifiers.
dossierId Dossier identifier.
count Number of items to show. 10
template Template used to show the items. projects, dossiers summary

Shows dossiers where current user directly participates, with page navigation.

{@ direct-dossiers : status [ : context [ : categoryIds [,categoryIds...] [ : count [ : template ] ] ] ] }
Atributs Descripció Opcions Per defecte
status Only items with status. all, closed, frozen, not-frozen, onwork
context Elephant context for links.
categoryIds Category identifiers.
count Number of items to show. 10
template Template used to show the items. projects, dossiers summary

Shows dossiers where current user directly participates, without navigation.

{@ direct-dossier-summary : status [ : context [ : categoryIds [,categoryIds...] [ : count [ : template ] ] ] ] }
Atributs Descripció Opcions Per defecte
status Only items with status. all, closed, frozen, not-frozen, onwork
context Elephant context for links.
categoryIds Category identifiers.
count Number of items to show. 10
template Template used to show the items. projects, dossiers summary

Shows dossiers where current's co-workers directly participate, with page navigation.

{@ related-dossiers : status [ : context [ : categoryIds [,categoryIds...] [ : dossierId [ : count [ : template ] ] ] ] ] }
Atributs Descripció Opcions Per defecte
status Only items with status. all, closed, frozen, not-frozen, onwork
context Elephant context for links.
categoryIds Category identifiers.
dossierId Dossier identifier.
count Number of items to show. 10
template Template used to show the items. projects, dossiers summary

Shows dossiers where current's co-workers directly participate, without navigation.

{@ related-dossier-summary : status [ : context [ : categoryIds [,categoryIds...] [ : dossierId [ : count [ : template ] ] ] ] ] }
Atributs Descripció Opcions Per defecte
status Only items with status. all, closed, frozen, not-frozen, onwork
context Elephant context for links.
categoryIds Category identifiers.
dossierId Dossier identifier.
count Number of items to show. 10
template Template used to show the items. projects, dossiers summary

Shows dossiers where current user has pending votes on worths.

{@ pending-vote : context : phase : worths [,worths...] [ : categoryIds [,categoryIds...] [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
context Elephant context for links.
phase Only items in phase type.
worths Identifiers of the worths to show.
categoryIds Category identifiers.
count Number of items to show. 10
template Template used to show the items. projects, dossiers summary

Lists categories in a tree format.

{@ categories : status [ : context [ : categoryIds [,categoryIds...] [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
status Only items with status. all, closed, frozen, not-frozen, onwork
context Elephant context for links.
categoryIds Category identifiers.
template Template used to show the items. full

Writes web path from dossier or issue entities.

{@ web-path : path }
Atributs Descripció Opcions Per defecte
path

Creates an editable form with dossier data.

{@ edit-dossier : id [ : template ] }
Atributs Descripció Opcions Per defecte
id Identifier.
template Template used to show the items. editDossier

Creates an editable form for a new issue.

{@ create-issue : redirect [ : dossierId [ : template ] ] }
Atributs Descripció Opcions Per defecte
redirect Context where to redirect after the operation, usually saving.
dossierId Dossier identifier.
template Template used to show the items. create

Creates an editable form for question specific type of issue.

{@ edit-question : id : redirect [ : type [ : template ] ] }
Atributs Descripció Opcions Per defecte
id Identifier.
redirect Context where to redirect after the operation, usually saving.
type Only items with type. TYPE_QUESTION
template Template used to show the items. editQuestion

Creates an editable form with basic actions for adding information to an existing issue.

{@ issue-add-info : id [ : template [ : redirect ] ] }
Atributs Descripció Opcions Per defecte
id Identifier.
template Template used to show the items. addinfo
redirect Context where to redirect after the operation, usually saving.

Elephant
Polls are by default restricted

Due the fact that polls are related to other entities, polls are always restricted to user participation or observation of those entities. The public attribute refers to the attachments.

Elephant
Macro parser

Shows polls for current user with page navigation.

{@ polls [ : count [ : public ] ] }
Atributs Descripció Opcions Per defecte
count Number of items to show. 10
public Show only public content. true

Shows polls for current user without navigation.

{@ poll-list [ : count [ : public ] ] }
Atributs Descripció Opcions Per defecte
count Number of items to show. 10
public Show only public content. true

Renders the timer tracker control. When an entity path is given, returns the link to the control.

{@ time-tracker [ : entityPath ] }
Atributs Descripció Opcions Per defecte
entityPath Path to a entity.

{@ anonymous }

{@ last-activity [ : context [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

{@ last-activity-summary [ : context [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

Financials
User shopping

The site cart can be fully implement using cart related macros. See Adding a shopping cart context to an Elephant site.

Financials
Macro parser

Shows contracts with page navigation.

{@ contracts [ : context [ : count [ : intervention ] ] ] }
Atributs Descripció Opcions Per defecte
context Elephant context for links. /user/contracts
count Number of items to show. 10
intervention Only contracts where current user has intervention. true

Shows contracts without navigation.

{@ contract-list [ : context [ : count [ : intervention ] ] ] }
Atributs Descripció Opcions Per defecte
context Elephant context for links. /user/contracts
count Number of items to show. 10
intervention Only contracts where current user has intervention. true

Shows contracts of specific type with page navigation.

{@ contract-type [ : context [ : count [ : intervention [ : type [ : template ] ] ] ] ] }
Atributs Descripció Opcions Per defecte
context Elephant context for links. /user/contracts
count Number of items to show. 10
intervention Only contracts where current user has intervention. true
type Only items with type. 0
template Template used to show the items. summary

Shows contracts of specific type without navigation.

{@ contract-type-list [ : context [ : count [ : intervention [ : type [ : template ] ] ] ] ] }
Atributs Descripció Opcions Per defecte
context Elephant context for links. /user/contracts
count Number of items to show. 10
intervention Only contracts where current user has intervention. true
type Only items with type. 0
template Template used to show the items. summary

Cart's checkout form.

{@ checkout }

Clean cart content. Allows to create a context with after-clean actions.

{@ clean-cart }

Lists products with page navigation.

{@ products : context [ : count [ : summaryTemplate [ : fullTemplate ] ] ] }
Atributs Descripció Opcions Per defecte
context Elephant context for links.
count Number of items to show. 10
summaryTemplate Template used to show the items in summary mode. summary
fullTemplate Template used to show one items in full mode. full

Lists products without navigation.

{@ product-list : context [ : count [ : summaryTemplate [ : fullTemplate ] ] ] }
Atributs Descripció Opcions Per defecte
context Elephant context for links.
count Number of items to show. 10
summaryTemplate Template used to show the items in summary mode. summary
fullTemplate Template used to show one items in full mode. full

Lists promoted products with page navigation.

{@ promoted : context [ : count [ : summaryTemplate [ : fullTemplate ] ] ] }
Atributs Descripció Opcions Per defecte
context Elephant context for links.
count Number of items to show. 10
summaryTemplate Template used to show the items in summary mode. summary
fullTemplate Template used to show one items in full mode. full

Lists promoted products without navigation.

{@ promoted-list : context [ : count [ : summaryTemplate [ : fullTemplate ] ] ] }
Atributs Descripció Opcions Per defecte
context Elephant context for links.
count Number of items to show. 10
summaryTemplate Template used to show the items in summary mode. summary
fullTemplate Template used to show one items in full mode. full

Creates an unordered linkable list of product names.

{@ product-name : context : ids [,ids...] }
Atributs Descripció Opcions Per defecte
context Elephant context for links.
ids Identifiers.

Creates a comma separated linkable list of product names.

{@ product-name-list : context : ids [,ids...] }
Atributs Descripció Opcions Per defecte
context Elephant context for links.
ids Identifiers.

Shows product or sum of products' price.

{@ product-price : format : ids [,ids...] }
Atributs Descripció Opcions Per defecte
format Format used to show the value.
ids Identifiers.

Cart form.

{@ cart : shopping [ : template ] }
Atributs Descripció Opcions Per defecte
shopping Shopping mode.
template Template used to show the items. cart

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 ] ] ] ] ] }
Atributs Descripció Opcions Per defecte
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 ] ] ] ] ] }
Atributs Descripció Opcions Per defecte
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 ] }
Atributs Descripció Opcions Per defecte
id Identifier.
template Template used to show the items. full

Students
Why do I want non restricted challenges?

Due the fact that challenges are intended to generate a response, should be not so important to make them visible to registered users. Responses to those challenges are strongly restricted to specific users.

Students
Macro parser

{@ challenges : context [ : count [ : summaryTemplate [ : fullTemplate ] ] ] }
Atributs Descripció Opcions Per defecte
context Elephant context for links.
count Number of items to show. 10
summaryTemplate Template used to show the items in summary mode. summary
fullTemplate Template used to show one items in full mode. full

{@ challenges-summary : context [ : count [ : summaryTemplate [ : fullTemplate ] ] ] }
Atributs Descripció Opcions Per defecte
context Elephant context for links.
count Number of items to show. 10
summaryTemplate Template used to show the items in summary mode. summary
fullTemplate Template used to show one items in full mode. full

{@ mychallenges : context [ : count [ : summaryTemplate [ : fullTemplate ] ] ] }
Atributs Descripció Opcions Per defecte
context Elephant context for links.
count Number of items to show. 10
summaryTemplate Template used to show the items in summary mode. summary
fullTemplate Template used to show one items in full mode. full

{@ mychallenges-summary : context [ : count [ : summaryTemplate [ : fullTemplate ] ] ] }
Atributs Descripció Opcions Per defecte
context Elephant context for links.
count Number of items to show. 10
summaryTemplate Template used to show the items in summary mode. summary
fullTemplate Template used to show one items in full mode. full

{@ jobboard : role : type [ : context [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

{@ jobboard-summary : role : type [ : context [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

{@ myjobboard : role : type [ : context [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

{@ myjobboard-summary : role : type [ : context [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

{@ lastjobboard : role : type [ : context [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

{@ lastjobboard-summary : role : type [ : context [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

{@ mylastjobboard : role : type [ : context [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary

{@ mylastjobboard-summary : role : type [ : context [ : count [ : template ] ] ] }
Atributs Descripció Opcions Per defecte
role Entity role part. SERVICE_SUPPLY, SERVICE_DEMAND
type Only items with type.
context Elephant context for links.
count Number of items to show. 10
template Template used to show the items. summary