Jump to content


Photo

$Trumba is undefined


  • Please log in to reply
7 replies to this topic

#1 PortMedia

PortMedia
  • Members
  • 4 posts

Posted 02 February 2009 - 08:02 PM

I am getting this error message in IE7 and IE8 when I click on the errors in this webpage icon in the lower right corner and the page will not load. It just hangs on the frontpage.

$Trumba is undefined


It is fine in Firefox and Google Chrome.

I also see downloading data... in the lower left corner of the browser.

Also - when I view source this is all I see:

<script type="text/javascript" src="http://www.trumba.co...s.js"></script>

Thanks!

#2 Steve A

Steve A

    Advanced Member

  • Admin
  • PipPipPip
  • 350 posts
  • Gender:Male

Posted 03 February 2009 - 02:29 PM

The URL looks suspicious. Make sure you have the following on your page with the $Trumba.addspud call:

<script type="text/javascript" src="http://www.trumba.co...s.js"></script>
<script type="text/javascript">

#3 PortMedia

PortMedia
  • Members
  • 4 posts

Posted 03 February 2009 - 04:09 PM

The URL looks suspicious. Make sure you have the following on your page with the $Trumba.addspud call:

<script type="text/javascript" src="http://www.trumba.co...s.js"></script>
<script type="text/javascript">


This is what I have:
<script type="text/javascript" src="http://www.trumba.co...s.js"></script>
<script type="text/javascript">
$Trumba.addSpud({
webName: "portmedia-training",
spudType : "main" });
</script>
<noscript>Your browser must support JavaScript to view this content.
Please enable JavaScript in your browser settings then try again.
<a href='http://www.trumba.com'>Events calendar powered by Trumba</a></noscript>

#4 Steve A

Steve A

    Advanced Member

  • Admin
  • PipPipPip
  • 350 posts
  • Gender:Male

Posted 04 February 2009 - 01:12 PM

The code you're using looks correct. I tested your code on IE7 by pasting it into a local .htm file. When I opened that file, I had to "allow blocked content" because I hit an address-bar warning message about ActiveX controls. After that, it loaded fine, I could see the spud and the events OK. So you might want to check your browser security settings to make sure it allows activex controls.

#5 PortMedia

PortMedia
  • Members
  • 4 posts

Posted 04 February 2009 - 01:46 PM

The code you're using looks correct. I tested your code on IE7 by pasting it into a local .htm file. When I opened that file, I had to "allow blocked content" because I hit an address-bar warning message about ActiveX controls. After that, it loaded fine, I could see the spud and the events OK. So you might want to check your browser security settings to make sure it allows activex controls.


Yes. The problem seems to be that I'm putting the code into a cms called Joomla. Not sure if anyone has any fixes for that.

#6 adevandry

adevandry

    Advanced Member

  • Members
  • PipPipPip
  • 64 posts
  • Gender:Male
  • Location:Colorado Springs, CO

Posted 04 February 2009 - 02:38 PM

Yes. The problem seems to be that I'm putting the code into a cms called Joomla. Not sure if anyone has any fixes for that.

I use joomla also. It took me a while to figure out the code, but I managed to get it. Here's what I did:

I made a static content item called Organizational Calendar and used only the following code on that content item:

<table width="500" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<div style=" width:100%;overflow:auto;" >
<script type="text/javascript" language=" javascript"  src="http://www.trumba.com/k.aspx?calendar=OBOL_calendar"></script>
</div>
</tr>
</tbody>
</table>

Then I made a site module called Upcoming Events.

I used this code only on it:

<script type="text/javascript" src="http://www.trumba.com/scripts/spuds.js"></script>
<script type="text/javascript">
$Trumba.addSpud({
webName: "OBOL_calendar",
spudType : "upcoming" ,
teaserBase : "http://operationblanketsoflove.org/index.php?option=com_content&task=view&id=25&Itemid=35" });
</script>
<noscript>Your browser must support JavaScript to view this content.
Please enable JavaScript in your browser settings then try again.</noscript>

So what you need to do is replace "OBOL_calendar" with "portmedia-training" in both codes and then in the second code replace the teaser base url with the url of the page with your calendar (the first code's page).

That should work.

Edited by adevandry, 04 February 2009 - 02:47 PM.


#7 PortMedia

PortMedia
  • Members
  • 4 posts

Posted 05 February 2009 - 09:22 AM

I use joomla also. It took me a while to figure out the code, but I managed to get it. Here's what I did:

I made a static content item called Organizational Calendar and used only the following code on that content item:

<table width="500" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<div style=" width:100%;overflow:auto;" >
<script type="text/javascript" language=" javascript"  src="http://www.trumba.com/k.aspx?calendar=OBOL_calendar"></script>
</div>
</tr>
</tbody>
</table>

Then I made a site module called Upcoming Events.

I used this code only on it:

<script type="text/javascript" src="http://www.trumba.com/scripts/spuds.js"></script>
<script type="text/javascript">
$Trumba.addSpud({
webName: "OBOL_calendar",
spudType : "upcoming" ,
teaserBase : "http://operationblanketsoflove.org/index.php?option=com_content&task=view&id=25&Itemid=35" });
</script>
<noscript>Your browser must support JavaScript to view this content.
Please enable JavaScript in your browser settings then try again.</noscript>

So what you need to do is replace "OBOL_calendar" with "portmedia-training" in both codes and then in the second code replace the teaser base url with the url of the page with your calendar (the first code's page).

That should work.


I appreciate the help and it did in fact work to the extent that the page loads instead of hanging IE but unfortunately the rest of my front page doesn't load in IE along with it. Just the header and right column... the rest of the modules and footer remain blank (grey). Everything still works fine in Firefox and Chrome.

#8 adevandry

adevandry

    Advanced Member

  • Members
  • PipPipPip
  • 64 posts
  • Gender:Male
  • Location:Colorado Springs, CO

Posted 05 February 2009 - 09:29 AM

I appreciate the help and it did in fact work to the extent that the page loads instead of hanging IE but unfortunately the rest of my front page doesn't load in IE along with it. Just the header and right column... the rest of the modules and footer remain blank (grey). Everything still works fine in Firefox and Chrome.

Hmmm, I don't know if that's a Trumba issue then. Good luck with that.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users