Jump to:

10993 Posts in 2727 Topics by 1818 members

All other Modules

SilverStripe Forums » All other Modules » Event Calendar Not showing up

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1447 Views
  • Yellow7 Jon
    Avatar
    Community Member
    39 Posts

    Event Calendar Not showing up Link to this post

    Im trying to get the calendar ($CalendarWidget) to show up on the homepage, it parses in the template, but does not show anything. Likewise, when i goto the event calendar page, it just says "Loading" where the calendar is supposed to be.

    Any help would be nice

  • UncleCheese
    Avatar
    4085 Posts

    Re: Event Calendar Not showing up Link to this post

    Probably a javascript conflict. Can you list all the scripts you have running on that page?

  • Yellow7 Jon
    Avatar
    Community Member
    39 Posts

    Re: Event Calendar Not showing up Link to this post

    heres the javascript files for the homepage, and event calendar page.

    i removed all of my scripts and it still did not show up...

    Attached Files
  • UncleCheese
    Avatar
    4085 Posts

    Re: Event Calendar Not showing up Link to this post

    Probably need to get rid of all that Prototype stuff. Is Firebug throwing any errors?

  • Yellow7 Jon
    Avatar
    Community Member
    39 Posts

    Re: Event Calendar Not showing up Link to this post

    thats all thrown in by silverstripe

    this is only thrown on the events_calendar page

    [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMViewCSS.getComputedStyle]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost/silverstripe2/event_calendar/javascript/jquery-1.2.6.min.js?m=1237483490 :: anonymous :: line 22" data: no]
    [Break on this error] jQuery.swap(elem,props,getWH);return Mat...form")||elem.options)ret.push(elem);else

  • UncleCheese
    Avatar
    4085 Posts

    Re: Event Calendar Not showing up Link to this post

    Those are some pretty nasty looking errors that will kill any scripts you have scheduled to run after them. I'd work on getting rid of those first. If you take CalendarWidget out of your template, does the page render error-free?

  • Yellow7 Jon
    Avatar
    Community Member
    39 Posts

    Re: Event Calendar Not showing up Link to this post

    ok, started over and re-upgraded my installation (after pulling it from the production site) and got the Calendar to show up on the Events Calendar page, but still cant on the homepage

    when i goto /home/ with ?showtemplate=1 this is what shows up where the $CalendarWidget is

    271 <h2>Event Calendar</h2>
    272          
    273          
    274 SSVIEWER;
    275 $val .= $item->XML_val("CalendarWidget",null,true) ;
    276 $val .= <<<SSVIEWER
    277
    278          
    279          
    280       </div>
    281    </div>
    282    
    283 </div>      
    284
    285
    286 SSVIEWER;

    any ideas?

    1447 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.