BenG Posted August 6, 2006 Report Share Posted August 6, 2006 I've got one calendar that I'd like to embed in my website in two different views on two different pages. On one page I'd like the month view (already done this no problem). I'd also like another page that displays the info using the Table calendar view. I've seen where you can put certain options after the calendar name variable in the spud code, but I haven't seen where you can force a particular view when the calendar loads on the page. Quote Link to comment Share on other sites More sharing options...
Anne Posted August 6, 2006 Report Share Posted August 6, 2006 You can use the template URL parameter within your main calendar spud code. This sets the main view of a published calendar to one of the 21 views listed on the Publish Settings page. Here is a help topic with more details and the calendar names to use in the spud code. In this example, the main calendar spud code is being forced to display using the List calendar view <script type="text/javascript" src="//www.trumba.com/scripts/spuds.js"></script> <script type="text/javascript"> $Trumba.addSpud( { webName: "calendarname", spudType: "main", url: {template:"list"} }); </script> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.