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.

SOLUTION

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.

Watch our short demo to learn how this can be done.

Membership Only

Please login or register to access this content.

You may also like

Please complete the below form and a member of the Velocity IT team will call you back.