Skip to end of metadata
Go to start of metadata

Widget Use

The new Scripts & Styles widget allows you to bundle related scripts and styles into one widget to function as a unit, or add multiple Scripts & Styles widgets to a page so they operate independently. Due to its name, and because the widget functions to run scripts or apply styles only, you know at a glance if a page is using customised JavaScript or Style Sheets.

Example of Widget Use

Following is an example of the widget in use:


Where can the Widget be placed?

The widget can be used in the following templates:

  • All pages

Widget Options

OptionUseCommentsAvailable from Version
DescriptionA short description of the widget's use.This description should clearly state the widget's purpose. It is included  with the widget name when added to a template page.4.13.00
LayerThe layer the widget is valid for.

The layering technology allows for the content to be shown to specific audiences.

This is handy if the content is only valid for a certain type of user, or if the same widget is required for more than one audience, but different configuration is needed.

The widget can be added to the zone more than once and the layer feature can determine which audience can see each widget. 

Scripts & Styles Select existing scripts and styles to add to the widget 

You can bundle multiple scripts and styles within the same widget.

You can add multiple scripts and styles widgets and have them operate independently of other scripts and styles. 

This setting will tell you how many scripts or styles are applied.


Related help