The Advanced Tab

You can use the fields on this tab to control advanced features. You do not need to make any changes to the fields on this tab in most cases. None of the fields are required, and the widget will always work without you making any settings here.

The Advanced tab contains the following fields:

Widget wrapper settings

This group contains the following fields:

Wrapper (pick value from list, default=No wrapper)

Select the HTML element you want to be used to wrap the entire widget.

You can select one of the following values:

div, section, article, No wrapper

Style Id (plain text)

Sets the id attribute of the Wrapper element. If you do not enter a value then the wrapper element has no id attribute.

Style Class (plain text)

Sets the class attribute of the Wrapper element. You can enter several class names in this field. If you do not enter a value then the wrapper element has no class attribute.

Cache settings

This group contains the following fields:

Edge Side Includes (ESI) (boolean, default=false)

Check this option to enable ESI includes for this widget. You can only use this option if your installation includes a web cache (such as Varnish) that both supports ESI includes and has been configured to process them.

Note also that whether or not ESI is actually used when enabled depends upon the sections in which the widget appears. ESI must be enabled for a publication or sections of a publication by setting the section parameter template.enableESI to true. If the section in which a widget appears (or one of its parent sections) does not have this parameter set, then ESI will not be used even if you have enabled it here.

Maximum age (in seconds) (number, default=60)

Determines how long the caching server may cache this widget. It does so by setting the HTTP header Cache-Control: max-age=NNN.

Set cache control directive (pick value from list, default=Private)

Sets the cache-control header.

You can select one of the following values:

Public, Private, No cache