Jump to content
Jill

Add spud code to open event details in new window

Recommended Posts

Hi everyone,

A long-standing feature request was just released today! Now you can 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 detailBase property, which links you to an example of a spud that uses it.

 

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

<script type="text/javascript">
$Trumba.addSpud({
   spudType: "main",
   webName: "kexp",
   openInNewWindow: true,
   detailBase: "http://www.trumba.com/calendars/kexp"
});
</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).

 

Let me know if I missed or can clarify anything.

 

Jill / Trumba UA

Share this post


Link to post
Share on other sites
Hi everyone,

A long-standing feature request was just released today! Now you can 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 detailBase property, which links you to an example of a spud that uses it.

 

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

<script type="text/javascript">
$Trumba.addSpud({
   spudType: "main",
   webName: "kexp",
   openInNewWindow: true,
   detailBase: "http://www.trumba.com/calendars/kexp"
});
</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).

 

Let me know if I missed or can clarify anything.

 

Jill / Trumba UA

Is there a way to prevent the main calendar page from opening in a new window when the "See all" link on a promotional spud is clicked. Because my site uses frames, I would like the calendar to open in the same window/frame. I guess something equivalent to [ target="_self" ].

Edited by adevandry

Share this post


Link to post
Share on other sites

I am not sure if you have tried this yet, but what happens if you change "openInNewWindow:"true"" to "openInNewWindow:"false"", so it would look similar to this sample code:

 

 

<script type="text/javascript">

$Trumba.addSpud({

spudType: "main",

webName: "kexp",

openInNewWindow:"false",

detailBase: "http://www.trumba.com/calendars/kexp"});

</script>

 

If this still does not seem to fix the issue, please email me the URL of your site, or reply back to this post and we can research this one further for you.

Thanks,

Steve

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...