Jump to content

sanjeev

Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. We are using the Trumba Event Submission form and we turned on the feature to approve events before they go live. So suppose we have a "Main Calendar" and a "Main cClendar >>Submitted" calendar where all the posted events go. How do I approve and move these events from the "Submitted" calendar to the "Main" calendar"?
  2. I am working on a site where we have been able to integrate calendar spuds perfectly inside ASP pages, but only in IE. For some reason the spuds won't show at all in Firefox and Chrome. The only non-standard thing we are doing (from a Trumba implementation standpoint) is I am passing the webname to the spud script from a hidden form field (using DOM). I had to do this because the webname is stored in a database. The pages work like a charm in IE, but not in FF or Chrome. So I am thinking maybe something in my code below is causing the spud to not show up in FFox or Chrome? Please see code below: <script type="text/javascript" src="//www.trumba.com/scripts/spuds.js"></script> <script type="text/javascript"> $Trumba.addSpud({ webName: document.getElementById('trumbaname').value, spudType: "upcomingvcrawler", teaserBase: "http://www.dotcomcierge.com/calendar.asp?id="'>http://www.dotcomcierge.com/calendar.asp?id=" + document.getElementById('hotelid').value, detailBase: "http://www.dotcomcierge.com/calendar.asp?id=" + document.getElementById('hotelid').value }); </script> Any ideas why this might be failing?
  3. We have an ASP website with an underlying database table that has Trumba calendar names stored for each region. So here's how the table looks: ID, Region, TrumbaCalendarName 001, Cape Cod, capecod 002, Boston, boston etc. Then I wrote an ASP function that returns the value of TrumbaCalendarName based on the region's ID (I get that from a querystring parameter). So far so good. Now the problem is on the same page I would like the corresponding region's calendar spud to display. How do I pass my function value to the spud? I don't believe I can pass a function result to Javascript. So I created a hidden form field that accesses my function and then thought I would read the field value in the document object as below (see bold line): <script type="text/javascript" src="//www.trumba.com/scripts/spuds.js"></script> <script type="text/javascript"> $Trumba.addSpud({ webname: document.getElementById('trumbaname').value), spudType: "upcomingvcrawler", teaserBase : "https://university.trumba.com/online_calendars/main_month.aspx" }); </script> The spud is not showing up. Why does it not work?
×
×
  • Create New...