Widget Overview

What are Widgets?

Widgets are snippets of code that can be re-used throughout your templates and content pages. By placing a widget's "inclusion code" anywhere on a template (Integration > HTML Templates) or a content page (Content > Custom Pages), the program will execute the widget's code and display the resulting output.

Inclusion Code

Inclusion code is the "trigger" that tells the program to run a widget at a specific location on a page or template. Inclusion codes are formatted as follows:

{-widget_id_here-}

By replacing the widget_id_here with the actual widget's ID, the program will replace the inclusion code with the actual output of the widget.

To find a widget's ID, go to "Content > Widgets". Note that all widget IDs are cAsE SenSitIve!

Types of Widgets

The program allows for the following types of widgets:

TypeDescription
codeThis is a small PHP script which runs PHP code and displays the results on the page the widget has been included on.
htmlThis is an HTML code block.
menuA navigation menu that can be built using content pages or outside links.
upload_listA widget that allows you to display a list of files belonging to a user that match a specific label.

Additional Links

Article Links

Related Articles

Article Tags

  • No tags found.

Details

Published on 2013/07/10.
Last updated on 2017/03/28.

Was this article helpful?
Yes (0) - No (0)