Change theme:   


Shortcut method for content tag to define cross-page content areas that are editable on all page:

{% xcontent name="footer" %}

This tag is equivalent to the following:

{% xcontent name="footer" xpage="true" %}



Sets the name to idenfify editable content area because there may be multiple areas on the same page. It is wise not to provide same content name twice on the same page.


Set which types of content are allowed for given content area. Multiple types separated with comma may be specified. For example, the following allowes user to add only text blocks and forms into content area:

{% xcontent name="sidebar" only="text,form" %}

Valid content types are:

  • text - text block
  • gallery - photo gallery
  • form - form area

Only these known content types will be recognized (incorrect ones will be ignored). If this argument is omitted or contains only unknown types, all available content types for this user can be added.

Notice that this attribute only affects the add content button. User can still drag any type of content into this content area from some other area.