Trumba Calendar

In Trumba, a "spud" is what they call a small piece of JavaScript™ code that retrieves event information stored on the Trumba servers. To display event information on your website, you copy and paste the spud code into your web pages.

Spuds embedded into your web pages act like windows. What you see through these windows is your event information on the Trumba servers. The exact view depends upon the specific spud that you’re using.

Because spuds are windows into your hosted data, changes you make in the Trumba Connect editing environment show up immediately on your site.

Adding a Trumba Calendar

  1. In your Trumba account, display the calendar you published and click Publish to display the Publishing Control Panel. If you haven't published your calendar yet, go through the publishing settings, and click OK. The Publishing Control Panel appears after you publish the calendar. More information about the publishing settings…
  2. In the Publishing Control Panel for your Trumba calendar, click in the code for the spud you want to embed to select it. Copy the code to your clipboard. 
  3. In Openscholar page, click Embed Media button from WYSIWYG editor and click [Embed from the web] tab, paste the code from the clipboard.  Also, the code can be placed into Embed Media widget. To learn how to use Embed Media widget

Note:  To embed spuds in a page, you need two sections of code:

  • One time per page, just before the first spud on the page, you need to paste the script that controls communication among spuds on the page and between spuds and your source calendar data:

 

Note Although you should use this script only once, it appears with all spuds, because all of the spuds could be the only spud on your page. For the second or subsequent spuds on a page, do not copy this part of the code from the Publishing Control Panel.

  • The code for the spud itself. Here's the default code:

 

Where name is the web name of your calendar and type is the type of spud you choose to embed.

4. Save and close your web page file, and then view the page in the web browser to see your embedded calendar spud.

If the calendar spud doesn't display the way you want it, see the helpful links below.

Helpful Trumba Links

Spud FAQ
Trumba University
Trumba Tribune