This topic describes how to use featured levels to style events in the Tile view, based on event categories, including:
Important There are several methods you can use to style event tiles in the Trumba Tile calendar view. The best method for you depends on how your events are organized, and how you want to present them on your website. See: Tile calendar view.
In the example below (using the Trumba Library demo calendar), the Event Types are reflected in the display of the event tiles:
We used the Event Types custom field on the Trumba Library calendar (shown above) to categorize the events for our demo.
Notice here the values we used when setting up the custom field ("Book Group," "Tech Help," and so on). We'll use matching values when setting up the featured levels.
Note If you used the Trumba Startup Wizard to create your calendar, your default event template already contains a single-level Featured Event custom field. See: Get Started 1: Review your live calendar and Trumba editing environment.
In the same template (as in step #1), set up (or modify, if it already exists) a List of choices: Featured Levels field, with the same values you applied in step #1.
Featured levels match the values you set up here:
Important You'll configure the color and style scheme for the tiles representing each of these values (or featured levels in step #4 below.
Note If you used the Trumba Startup Wizard, featured events are already activated for your calendar. Otherwise, continue with this step.
In Edit Publish Settings, for Featured event field, select the name of the featured event custom field you created, such as here:
In the screenshot at the top of this topic, notice that we used the same styling (font, font size, image position, date icon position, etc.), except for the different colors (for the tile headers, event titles, and Date icons) for each of the four Event Types.
Note your color and style scheme decisions -- you'll apply them in step #5 and step #6.
Tip To apply colors in the Trumba editing environment, you can use the Color Picker, or assign a hexadecimal value directly for each color. (Make sure to note the values you use.) See: How event colors work.
We used the values from our custom field we created in step #1, such as with "Book Group" here:
When you're finished, you should have Date Icons created for each value, similar to how we set it up for our Trumba Library demo calendar:
For information about designing Date icons, see: Date icons in spuds.
Highlighted in the screenshot below, for example, are the four featured levels we showed in the screenshot at the top of this topic:
Note By default, events in the calendar view are formatted according to the Default layout. You're changing your featured levels to use the Featured Layout instead -- to indicate that you want to create and use new layouts for the featured levels.
Notice that for each featured level, there is an associated tab on the Edit Settings for Tile View page.
Here for example, you can see the tabs for two of the featured levels from our Trumba Library calendar:
Key settings include:
Note While options include borders, padding, colors, font settings, and more, we used the same settings in all of the featured levels, other than for the labels, Date icons, and colors for the tile headers and event titles. (See the example in the screenshot at the top of this topic.)
Notice in our example, that the featured level label text color (set using the Color control) and background color (set using the Background color control) matches the Date icon label text and background colors:
Tip Always set a high contrast between the text color and background color for the featured level and Date icon labels to ensure readability.
For information about designing featured levels, see: Customize featured event layouts.
Make sure to preview your calendar to verify results, using the Trumba hosted view. (See: Preview your calendar with the hosted view.)
Important To view and test all the featured levels, make sure to include test events on your calendar that are tagged with the custom field (and all of the values) you set up in step #1. Having featured events in place lets you preview the layouts as you customize them.