The template
parameter is an optional parameter that can be:
url
argument in the $Trumba.addSpud() method.trumbaEmbed
parameter in a URL-encoded query string.Sets the main view of a published calendar to one of the 21 views listed on the Publish Settings page.
Tip To open the Publish Settings page, in the editing environment, click Publish Settings. If the calendar is already published, in the Publishing Control Panel, on the Publish Settings tab, click Edit Publish Settings.
Also sets the current view in the view chooser spud.
Each calendar view has its own parameter value as described in the following table.
Note The parameter values for calendar views are subject to change. Please use the parameters listed here with the understanding that, if they change, the outdated parameter will be ignored. The calendar will display in its default view.
View name | View value |
Classic Table | table |
Classic Multi-Week | 5week |
Classic Month | month |
Classic Week | week |
Classic Multi-Day | 3day |
Classic Day | day |
News | news |
List | list |
Performance Schedule | performance |
Conference Schedule | conference |
3 Columns | 3columns |
Compact List | compact |
Detail List - Date | detaillistdate |
Detail List - Title | detaillist |
Labeled List - Date | labeledlistdate |
Labeled List - Title | labeledlist |
Linear Grid | lineargrid |
List by Month | listbymonth |
Photo Events | photoevents |
Map | map |
Mobile Table | mobiletable |
Tile | tile |
url
argument, $Trumba.addSpud() method, Main calendar spudSets the main calendar view to List.
url
argument, $Trumba.addSpud() method, View chooser spudSets the current view in the view chooser spud to Photo Events.
Tip Using a url
argument template
parameter to set the current view in the view chooser does not automatically change the view in the main calendar. To set the current view in both spuds, add the url
argument template
parameter to the view chooser and main calendar spud embed code.
In main calendar and view chooser spuds displayed at the base URL, sets the current view to Detail List - Date.
http://www.yoursite.com/calendar.html?trumbaEmbed=template%3Ddetaillistdate
Tip %3D is the URL-encoded equals sign (=). %26 is the URL encoded ampersand (&).