Change theme:   


This object represents an element in catalogue elements list.

Every element page has this property accessible from element property. Every page with elements type template has property elements containing array of element objects bound to the page. Elements list can be obtained also by using {{ elements_context }} tag from all pages. See more from elements listing template example and element page template example.

Common properties for all elements


Id of element definition model.


Returns true if element is not yet saved to server. Useful if content areas will additionally be bound to element. If element is new this binding should not be done as the element to bind it to does not exist. 

{% unless element.new_record? %}
    {% content name="element_gallery" bind="Element" %}
{% endunless %} 


Returns the page object of elements page where current element is located. 


Returns title of element. Property can be made user editable in template:
{% editable element.title %}


Returns URL for given element.

User defined properties

All user defined properties of element definition are accessible directly as element properties.

If user has defined a property with code description, editable tag for this in elements template would be:

{% editable element.description %}