Customizing Event Display and Mouse-Overs
Connect Daily allows you to create your own custom class to control the text displayed for a calendar item and the mouse-over tool-tip text for items. For example, it is possible to create a class for formatting the event description and title for mouse-overs so that:
- If the criteria is for calendar_id, then the calendar name+Item Type Description is displayed.
- If the criteria is for item_type_id, the calendar name is returned.
- If none of these conditions is met, the item description is returned.
Implementing this customization requires advanced Java development skills. If you are not a software developer, you will need to acquire the services of one.
The WEB-INF/misc sub-directory contains a sample CalendarItemFormatter to show how it is done.
Steps for Customization
- Create a class that extends com.mhsoftware.cdaily.support.CalendarItemFormatter.
- Add an entry to the configuration.properties file that has the name of your formatter:
for example:
CalItemFormatterClass=com.mhsoftware.cdaily.support.CalendarItemFormatter - Restart Connect Daily if necessary.