Configure Widgets


Since version 1.3, myWebGate supports widgets.

Widgets are small containers to display context sensitive information on pages in myWebGate.

Here's an example of a calendar widget in the user profile page, where the viewer of the profile can see todays calendar entries of another person.




To manage widgets, go to "Widgets" in the "Community Admin Page".




Click "Add new Widget" to add a new widget definition:



Title:The title displayed in the widget container.
Page:Select one of the available pages, where the widget should appear.
Panel:Where the widget will be positioned on the page, either left or right panel.
Sort order:Enter a numeric value to change the order of appearance, if you have more than one widget in the same location.
Method:HTTP request method, either POST or GET.
URL:The url to invoke your widget. This url will return the contents rendered inside the widget container.
Status:Used to activate or de-activate the widget.
Visibility:Controls if the widget will be visible for external or internal users.
Theme:If you select "disable theme", the contents of the widget URL will be rendered without the widget container box. No border and no title bar will be rendered.


Troubleshooting

To troubleshoot widget loader issues, you can use the "Enable JS console logging" checkbox. When checked, a cookie will be set in your browser to tell the widget loader script to print activity to the browser console. This setting will affect only your current session in your browser.

The JavaScript console needs to be activated in your browser to read debug output:

Internet explorer: open Tools > Developer Tools (F12)
Firefox: use FireBug or Tools > Developer Tools>Web Console
Chrome: Tools > Developer Tools

Read the specifications to build your own widgets.