Jump to content
Jill

Add spud code to open event details in new window

Recommended Posts

Set your event details to open in a new window. To do this, you use the detailBase property in your spud code with a new property called openInNewWindow.

Here's a topic that talks about the Trumba API's 

Here's an example of a spud that opens the details in a new window:

<script type="text/javascript">
$Trumba.addSpud({
   spudType: "main",
   webName: "trumbau",
   openInNewWindow: true,
   detailBase: "https://www.trumba.com/calendars/trumbau"
});
</script>
 

This particular example opens the details on the calendar's Trumba hosted page. For your spuds, use the URL of the page that holds your main calendar spud (similar to how you use the teaserBase property).

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...