- Enable Import Export Module
- Enable Razor Templates Module
- Import CustomCodeWidget.xml
If the installation of the Widget is successful, in your Template List you will see this:
You can see the Code of this Widget (or change it), if you click edit.
How to use it:
Go to Widgets and add a new layer
Add a Custom Code Widget
Write the code you want:
Click Save and you are ready to go!!!