Page tree
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. 

4.13.00
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.

4.13.00 



Other Widgets

  • Page:
  • Page:
    Token Customer Credit Card Info Widget — Displays the message in credit card expiry reminder emails to Customers who have existing token payment set up.
  • Page:
    Email Credit Card Verification Link Widget Adds credit card verification instructions in order confirmation and verification reminder emails, and includes a link to the validation page.
  • Page:
    Report Subscription Widget Provides input field and button configurations for the Report Subscription screen. You can customise the widget to display field labels, headings and text to suit your website needs and style.
  • Page:
    SignalR Group Message Selector Widget Define the text for the button users will click when selecting a SignalR client–in this example, a printer enabled to print orders/invoices in PDF format.
  • Page:
    Page Content Search Result Widget Customise the 'no results returned' message when the keyword search does not match any static content on your pages or products.
  • Page:
    Scripts & Styles Widget — 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.
  • Page:
    Account Payment Detail Widget Renders the payment detail information in the body of the various Account Payment confirmation emails. Information includes (but is not limited to) the order number, account number, invoice, and amount paid.
  • Page:
    Dashboard Recent Invoices Widget — Displays the logged in user's 5 most recent invoices, with a link to each invoice in detail, as well as a 'View All' option.
  • Page:
    Dashboard Account Status Widget — Displays a list of the user's customer account status, including balance owing and payment terms, as well as links to statements and the account payment page.
  • Page:
    Dashboard Articles Widget — Displays a list of the site's news articles, with an image, title, a 'read more' link, and the article expiry date.
  • Page:
    Dashboard Product Favourites Widget — Displays a list of the user's top 5 favourite products, with links to each product page, as well as an add to cart button.
  • Page:
    Dashboard Back Orders Widget — Displays a list of the user's backorders with links to the order detail page.
  • Page:
    Social Sharing Plugin Widget — Acts as a placeholder to output customised javascript based on content from Add This (social network Share buttons, for example).
  • Page:
    Return Lines Widget Where product Returns functionality is in use, renders the return order lines (product, quantity, price, etc.) on the return entry page.

Related Help