Mix-ins, paging, and grouping
When you publish a calendar, the Publish Settings page contains a variety of ways to specify how you want your published Trumba® calendar to appear and behave.
See also: Set up event actions
Mix other calendars into your published calendar
Depending upon how you set up your calendars during the implementation process, the calendar you publish may not contain any or all of the events you want your site visitors to see.
To incorporate all of the events into the publication, you can mix in other calendars during the publication process. One advantage of mix-ins is that you can add a Calendar List control spud that lets visitors display or hide mixed-in calendars, giving the visitors control over which events they see.
For example, if your organization offers different types of training classes, you might create a calendar for each type. When you publish the master calendar, you mix in each training type calendar, and then provide a Calendar List spud that lets visitors display only the training events they care about.
Calendar list spud with a custom label
To mix other calendars into a published calendar
- From your Trumba account, display the calendar you want to publish or have already published.
- Click Publish.
- Do one of the following:
- If this is the first time you're publishing your calendar, proceed to the next step of this procedure.
- If you have already published your calendar, the Publishing Control Panel appears. On the Publish Settings tab in the Publish Settings section, click Edit Publish Settings.
- On the Publish page (Publish Settings page if your calendar is already published), in the Mix-in events from these calendars section, select the check boxes for the calendars you want to include in the published view.
- Click Publish or complete the remaining settings.
To add a spud that gives visitors control over which mix-ins they see
- In the Publishing Control Panel for your calendar, click the Control Spuds tab, and then click Add a Control Spud.
- Select the Calendar List control spud.
- Click OK
- On the Settings tab, change the spud label to something more useful for site visitors.
For example, you might change the label to Event Types or Select Categories.
- On the Styles tab, global settings for your publication will be applied. Make any changes you want.
- Click Preview to preview the spud. When you're happy with how it looks, click OK.
- Copy and paste the spud code into your main calendar page.
See Embed spuds for more information.
Tip The calendar colors in the Calendar List spud reflect the colors you set on the Edit Calendar Colors page in the Publishing Control Panel. Learn more.
Organize events on a page
After you publish your calendar, you select the views you want to provide to visitors. If you use calendar views that display events in a list-based format, such as List, Compact List, Table, 3 Columns, and so on, you might want to limit the number of events that appear in one view, so that visitors don't have to scroll through one long list to find a future event.
When you divide your event list into sections, navigation arrows appear on the calendar, so that visitors can view the previous or next set of events. In addition, events on one page are arranged into sub-sections with headings. In the picture of a published calendar below, the paging is set to show five events per page, and events are grouped by week.
To set paging and grouping for a published calendar view
- From your Trumba account, display the calendar you published.
- Click Publish to open the Publishing Control Panel.
- Click the Calendar Spuds tab. In the Main Calendar Spud section, on the calendar view you want to work with, click Edit Settings (or you can click Add a Calendar View).
- In the Edit Settings page, under Paging, do the following:
- For Events per page, enter the number of events you want to display in one view
- Select Exact to always show exactly the number of events you set, even when there's an awkward page break.
Select Smart if you want Trumba Connect to estimate, if necessary, the number of events to display, to avoid breaking events that occur in the same group (set in the Grouping section) across two pages. For example, if you set Events per page to 15, Group by to Month, and a month contains 20 events, Trumba Connect will try to display all 20 of the events on the same page.
- For Default page, set Current Day or Next Day to display the calendar from the current or next day and into the future.
Set Current Group to display your page according to the groups that you defined in the Grouping section. For example, if you group by week, this setting will display the current week's events always starting with Monday.
- Under Grouping, do the following:
- Click Preview to see how your settings look on the published calendar. When you like your paging and grouping settings, click OK.
Tip For help deciding which template to use, see Which calendar view to choose.
To create custom grouping
- In the Publishing Control Panel for your calendar, click the Calendar Spuds tab, and then click Edit Settings on one of your list-based calendar views.
- In the Edit Settings page, for Group by, select Custom.
- For Name, enter a name for the time period you want displayed on the first page of the published calendar.
For example, if you're publishing a project schedule, you might name the first time period Phase 1.
- For Start and End, enter the beginning and end dates of the time period. Use m/d/yyyy format for dates.
- Click Add.
- If you want to create additional time periods, enter the names and start and end dates for these time periods.
Tip Custom pages and list views show events from the current date and into the future. If you want the latest date to appear at the top of the list in your calendar, try the News template.
If you need to change a time period, first delete it, and then re-enter it. When you click Add, the updated version appears in the correct date sequence.
Return to To set paging and grouping.