Page Selection ============== Description ----------- Shows a list with the possibility to add links to other pages managed in Sulu. Additionally it populates all the fields defined in the template configuration to the HTML template. The content is stored as an array of references. Parameters ---------- .. list-table:: :header-rows: 1 * - Parameter - Type - Description * - properties - collection - Defines with which key which property of the linked page should be populated to the HTML template. * - item_disabled_condition - string - Allows to set a `jexl`_ expression that evaluates if an item should be displayed as disabled. Disabled items cannot be selected. * - allow_deselect_for_disabled_items - bool - Defines if the user should be able to deselect an item that is disabled. Default value is true. * - request_parameters - collection - Collection of parameters that are appended to the requests sent by the selection. * - resource_store_properties_to_request - collection - Collection of property names. The value of the respective properties are appended to the requests sent by the selection. Example ------- .. code-block:: xml Links .. _jexl: https://github.com/TomFrost/jexl Twig ---- .. code-block:: twig {% for page in content.pages %}

{{ page.excerptTitle|default(page.title) }}

{{ page.excerptDescription|default(page.article) }}
{% endfor %}