Jump to content
Sign in to follow this  
Singular

teaserbase

Recommended Posts

Hello all,

 

I created a sample sponsor calendar called "Sample". I mixed in all of the events from my calendar "asingularcreation" which is located on my web site. I added the code for "sample" on a diiferent web site to test it. The calendar works, but the teaserbase, which I have set to the page where "asingularcreation" is located, is not working. When you click on an event, you remain on the same website.

 

So I tried putting the code from my main calendar "asingularcreation" with the correct teaserbase, on the other test web site. The calendar works, but if you click an event, it still won't take you to the correct web page. You stay on the other web page. Here is the link to the test site: http://golfngamblin.com/test.htm

 

Is the teaserbase desined to take the user to the calendar located within the site only? Or can it somehow take users to a different site, if that is where the teaserbase points?

 

thanks,

Joe

Share this post


Link to post
Share on other sites

Hi Joe.

 

If you actually want the event detail view to open in a page on your site, you want to use the detailBase rather than the teaserBase property.

 

So your spud code would like this:

 

<script type="text/javascript">

$Trumba.addSpud({

webName: "asingularcreation",

spudType : "main",

detailBase: "http://www.asingularcreation.com/Lists/art-contests.htm" });

</script>

 

You use the detailBase property with a main spud to show event details in another main spud that's embedded in a separate page.

 

The teaserBase property works with promotion spuds and allows you to open the event details page from a link in the promotion spud on your own site rather than the Trumba hosted page.

 

Hope that helps.

Connie

Share this post


Link to post
Share on other sites

Hi Joe.

I just wanted to follow up with one more thing. You might want to use the openInNewWindow property to get the event detail to open on your site in a new window. The code would look like this:

 

<script type="text/javascript">

$Trumba.addSpud({

webName: "asingularcreation",

spudType : "main",

openInNewWindow: "true",

detailBase: "http://www.asingularcreation.com/Lists/art-contests.htm" });

</script>

 

Sorry I forgot to mention that the first time. You can find more information here: Supported properties for customizing spuds.

 

Connie

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×