|
|
| Trumba Help Center | What’s New | FAQ | Support Forum | Email Support |
Spud FAQThis topic answers the most common questions about getting your Trumba® calendar spuds to behave the way you want them to on your site.
Tip If the question you have is not included in this list, please visit our Product Support Forums, where many more spud questions are answered. Can my spud display a filtered view or specific search results by default?Sure. If you use custom fields and/or organize your content by owning calendar or folder, you can use filter views to pre-filter spud content. For example, suppose a university calendar uses an "event sponsor" custom field to indicate which academic department sponsors each event. This makes it easy to set up filtered views by department. Each filtered view consists of a collection of spuds pre-filtered to display only one department's events. These pre-filtered spuds can then be embedded in each department's home page. To learn more, see Filter views. My calendar won't display when viewers select a tab, drop-down, or other hidden sectionTo display a calendar in a section of a page, such as a tab or drop-down, that is hidden when the page first loads:
For a demonstration of how to display a calendar in a tab, open one or both of the following files and view the commented source code. Why don't my spuds display on my WordPress blog?If you try to enter spud code into a post on a WordPress blog that is hosted by WordPress.com, the only thing that displays in your blog is the text for the spud code. Blogs hosted on WordPress.com do not support JavaScript (which Trumba Connect uses to display spuds), and the WordPress software deletes script tags from your posts. They do this for security reasons, which you can read about on the wordpress.com site and in their support forums. If you have downloaded the WordPress software from WordPress.org (a different site from wordpress.com) and set it up on your own host, you may be able to add spud code to posts as long as you turn off the rich editor. Learn more in the WordPress documentation about using JavaScript.
When I click an event in a spud, it jumps to trumba.com. I want it to jump to the calendar page on my own site.By default, event links in promotion spuds point to the version of your calendar hosted on trumba.com. You can easily change where event links point by putting the URL for your own calendar page into the Calendar Address field in Publish Settings. Updating the Calendar Address field affects more than just spuds. It also means that visitors who click event links in your calendar emails and RSS feeds will jump to the calendar on your website. To update a calendar's address
The calendar is wider than the maximum width for my web page's content
If you want to make the calendar fit into a set space that's narrower than the default calendar width, you can place it into a
<div style="width:400px; overflow:auto;">
<script type="text/javascript">
$Trumba.addSpud ( { webName: "yourcalwebname", spudType: "spudtype" }); </script> </div> Special case: Multi-day templateThe Multi-day template requires a width of nearly 800px and currently behaves a little differently than the others. If your calendar uses this template, and you want it to fit into a narrower space, you need to take the code above one step further.
First, you need to create a
<div style="width:400px; overflow:auto;">
<div style="width:800px;> Spud code </div> </div> Nothing happens when I click a date in the Date Finder spudIf you embed a Date Finder spud into a page that does not contain your main calendar spud, you need to tell it where to direct visitors when they click a link. To do that, you add the teaserBase argument as described in When I click an event in a spud, it jumps to trumba.com earlier in this FAQ. Can I publish the same spud on multiple web pages with different settings or styles?With both promotion and control spuds, you have the option of creating multiple copies of the same spud for use either on the same or different webpages. Each copy can use different settings to meet your needs. Why would you want two copies of the same spud? Here's one example. Suppose a health club wants to place, on its home page, a Vertical Crawler promotion spud that displays ten events. The club also uses digital signage in the lobby where it wants to use the same Crawler spud, this time displaying five events. To create two copies of the same spud
Each copy of the spud shows events from the same calendar using the specific settings you selected. Do I have to load the same script file, spuds.js, with each spud?The short answer is that this script call:
<script type="text/javascript" src="http://www.trumba.com/scripts/spuds.js"></script>
needs to appear only once on each page that contains spuds, before any individual spud code. If you embed multiple spuds on a page, you have a couple of options:
More infoThe script above runs a file called spuds.js. The code in this file oversees communication among spuds on a page and between spuds and your source calendar data on the Trumba server. Without this code, the individual spuds cannot function. Although you should use this script only once on each page that contains spuds, the code appears with all spuds in the Publishing Control Panel. This is because any of the spuds can function as the only spud on your page, and the code must appear once. Running it multiple times does not harm anything, but it can affect performance. For the second or subsequent spuds on a page, do not copy this part of the code from the Publishing Control Panel. |
|
| Privacy | Terms | Public Calendars | |
| © 2004–2013 Trumba Corporation. All rights reserved. Click for trademark information. | |