TABLE OF CONTENTS
With the Paid Subscription plans and the Custom Screens, DAKboard supports Widget Blocks for adding HTML and Javascript code for third-party content. These widgets can be found on the site of your choosing. This article will show you how to add them to your DAKboard Screens and Displays.
Add a Widget Block:
To add a Widget Block to your Display, select the Custom Screen Editor you want it to appear on, click the Add a Block button, and search for the Widget Block as seen below:
The Widget Blocks are for adding javascript that is sandboxed, meaning they will be unable to create pop-ups for example. Below are some definitions of what should be possible in this block type:
<iframe>: The Inline Frame element
Once your Widget has been created or you have found the one you would like to use, you can place the code into the Settings Tab of your Widget Block in the space provided. See below:
You should be able to create your CSS style tags inside but you may find it easier to add them via the Settings & Defaults page like in the article Applying Custom Styles to Screens.
Frequently Asked Questions:
Below are the most commonly asked questions about the Widget Block:
Does any Widget Work with this Block?
Most Widgets will work with the DAKboard Widget Block. As long as they do not try to exit the Sandbox, open pop-up messages or ads, or they do not redirect you to a different page, they should work.
How to I Increase the Refresh Rate of the Widget?
The DAKboard Widget Block will automatically refresh during the 6-hour refresh, however, if you need the data to refresh quicker, you will have to add this to your code. Be aware, that using high refresh rates for pulling data from sites can lead to the site responding with Too Many Request errors for the site in question. This can also lead to your DAKboard Screen exceeding its usage rates and may result in it being disabled. See our article High Screen Usage or Disabled Screen (error 429) for more details on this.