Dynamic Mini Calendar using K2 and SQL
K2 smartforms and the K2 community controls do not have a lightweight mini calendar control for the dynamic presentation of dates, in a colorful format. For example, you might have a requirement to highlight a particular date, using a colour, which varies on the event type. Conditional formatting in smartforms can be used to achieve something similar, but not within a calendar control.
We can easily achieve this by using HTML 5 generated by a database query that transforms the results into HTML. This is made available using a K2 smartobject. It’s a sophisticated way to represent all the important dates visually, instead of showing them in a list view. Performance is also improved because the calendar is rendered client side.
Registration is required to view the full article. Click here to register FREE…
Please login or register to access the full article.