Login | Forgot password | Register
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.
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 |
-
Event Calendar Not showing up

30 April 2009 at 5:06am
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
-
Re: Event Calendar Not showing up

30 April 2009 at 5:48am
Probably a javascript conflict. Can you list all the scripts you have running on that page?
-
Re: Event Calendar Not showing up

30 April 2009 at 7:17am Last edited: 30 April 2009 7:18am
heres the javascript files for the homepage, and event calendar page.
i removed all of my scripts and it still did not show up...
-
Re: Event Calendar Not showing up

30 April 2009 at 7:23am
Probably need to get rid of all that Prototype stuff. Is Firebug throwing any errors?
-
Re: Event Calendar Not showing up

30 April 2009 at 7:33am Last edited: 30 April 2009 7:34am
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 -
Re: Event Calendar Not showing up

30 April 2009 at 7:40am
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?
-
Re: Event Calendar Not showing up

1 May 2009 at 10:02am
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 |


