Login | Forgot password | Register

X

What is OpenID?

OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.

With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.

For more information visit the official OpenID site.

Jump to:

4785 Posts in 905 Topics by 809 members

All other Modules

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

Discuss all other Modules here.

Page: 1
Go to End
Author Topic: Event Calendar Not showing up 501 Views
  • 3N1GM4
    avatar
    Community Member
    30 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
    Forum Moderator
    2660 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?

  • 3N1GM4
    avatar
    Community Member
    30 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
    Forum Moderator
    2660 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?

  • 3N1GM4
    avatar
    Community Member
    30 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
    Forum Moderator
    2660 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?

  • 3N1GM4
    avatar
    Community Member
    30 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?

    501 Views
Page: 1
Go to Top

Currently Online: zueri, benediktr, swaiba, Euphemismus, dendeffe

Welcome to our latest member: GreenWork

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

Comments on this website? Please give feedback.