A simple and easy to use availability feature for CMS Made Simple™. A User Defined Tag (UDT) converts a comma seperated string of 0's and 1's into a list of images.
You can use it for i.e. opening hours of a store or an overview of soccer trainings.
I will show you an explanation with three rows of images for store openings.
Create a UDT named i.e. "Availability" and with the content:
Note: You probably need to change the image path in the code...
Add in the top of your Core::Page template:
And in the area where you want the availaility images in a page or another spot in the template:
In the image folder I have two images:
I filled the stringlist fields with:
The generated output will be something like:
No comments yet...