====== Traditional Signage Applications ======
While Blocks isn't a traditional digital signage platform, you may sometimes want to use it so show content with a similar look and functionality. This article provides a few pointers and examples on how this can be accomplished.
===== Zoned Displays ======
One of the more common requirements for traditional signage applications is to have a display divided into several "zones". This look can easily be created using a Composition block.
{{ :blocks:signage:zoned.jpg?nolink |+++ Ill Zoned.}}
This example shows a block divided into three "zones":
- The left side shows an easily customizable message, as a looping slideshow.
- The top provides your own "Twitter-style" feed, with messages posted by employees (based on PIXILAB Moments, of course).
- The bottom shows today's weather.
===== Using Widgets =====
Various dynamic content, such as maps, [[https://www.accuweather.com/en/free-weather-widgets|weather]], latest news, date/time, etc, can be easily incorporated using readily available web-widgets. The following example uses three click widgets to show the time at three different locations.
{{ :blocks:signage:widgets.jpg?nolink |+++ Ill Widgets.}}
These clocks are made using the new Widget block type to include a couple of clocks available from https://www.timeanddate.com/clocks/free.html. There's a lot of similar "widgets" of all kinds available on the web – many for free. Most free ones link to the originating site, which then often shows some advertising. However, this link is only activated if you click the widget, which you typically can't do in a traditional signage application, as the screen isn't interactive.
Make sure you check the "terms and conditions" before incorporating such widgets in your design. Also keep in mind that the site providing this service may change, or even disappear, possibly rendering the widget non-functional. As usual, you "get what you pay for".
==== Two Types of Widgets ====
There are essentially two kinds of web widgets:
* Those based on an outer iframe.
* Those NOT based on an explicit iframe.
Here's an example of an iframe-based widget:
To present such a widget, do as follows:
- Create a Web block.
- Set the URL of the web block to the one specified as the src attribute of the iframe tag (make sure you take //only// the src attribute's value, up to its terminating double-quote).
- Apply scaling to the Web block, if required to get the desired size.
If the widget doesn't consist of an enclosing iframe with a src attribute, it is usually some other enclosing tag, such as a
http://pixi.guide/spot?mobile=CONTROL
:!: This URL assumes that your Blocks server is accessible under the name pixi.guide. If it isn't, substitute the proper name or IP address of your server here instead (possibly along with the port number, if you server configuration uses a non-standard port).
You can now switch among the various example blocks using the buttons on this remote control.
{{ :blocks:signage:panel.png?nolink |}}