Recommended Blocks
Skrill email or ID | |
---|---|
Price amount | |
Currency | |
URL to return after payment | |
URL to return after cancelled payment | |
Product name | |
Language |
The block reads the exchange rates from the Currency Converter API website
This will insert a block to find out if the page is embedded as a frame to other site and will prevent that by redirecting to the correct page without framing.
Message if framing detected:
"Address Field" inserts an autocomplete address field integrated to Google Places.
Field type | Required field |
Name | |
Id attribute | |
Class attribute | |
Google api key | If you have no an api key, visit the Google Console, and generate one to your website's domain. |
Restrict the address to the countries |
It is possible select a maximum of 5 countries. |
"Ad Blocker Alert" displays a pop-up window if there is an Ad Blocker active in the browser, and limit the access to the page's content.
Message to display:
"Words Counter" inserts a javascript block with the wordsCounter routine:
wordsCounter(text);
wordsCounter("Lorem ipsum");
Output: 2
"Pie Chart" inserts a javascript block with the setPieChartBlock routine to generate pie chart into a canvas tag with the values passed as parameters:
setPieChartBlock(canvasId, values);
setPieChartBlock('canvasId', [{label: 'First item', value: 10, color: '#FF0000'},{label: 'Second item', value: 5, color: '#00FF00'},{label: 'Third item', value: 100, color: '#0000FF'}]);
"Bubble Chart" inserts a javascript block with the setBubbleChartBlock routine to generate a bubble chart into a canvas tag with the values passed as parameters:
setBubbleChartBlock(canvasId, values);
The "Javascript Unserializer" inserts a javascript block with the unserialize routine:
unserialize(phptext);
unserialize('O:8:"stdClass":2:{s:5:"attr1";s:15:"First Attribute";s:5:"attr2";s:16:"Second Attribute";}');
Output would be a javascript object with the structure:
{attr1:"First Attribute", attr2:"Second Attribute"}
"Line Chart" inserts a javascript block with the setLineChartBlock routine to generate line chart into a canvas tag with the values passed as parameters:
setLineChartBlock(canvasId, data, config);
setLineChartBlock('canvasId', [{'dataset': 'First Dataset','color': 'red','values': {'label a': 10,'label b': 15,'label c': 30}},{'dataset': 'Second Dataset','color': 'blue','values': {'label a': 40,'label b': 20,'label c': 5}}],{'title': 'Line Chart'});