Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

Event Calendar with different themes


Go to End


8 Posts   1651 Views

Avatar
philwhite

Community Member, 24 Posts

23 July 2010 at 7:04am

I'm brand new to SilverStripe and assessing it for my needs. At present it all looks good, but I've run into a problem.

The Event Calendar works fine if I choose the blackcandy theme, but the calendar widget fails to load if I try several of the other themes I downloaded. The "next month" and "previous month" arrows appear, but they return to the main page. The calendar itself simply doesn't appear.

I've flushed the cache, and the themes seem to be fine otherwise. If I switch back to blackcandy, the calendar works fine again.

Of course, I could design another theme from scratch or modify the blackcandy theme, but it would be far easier to take one that is close to what I want.

Any ideas?

Running 2.4, btw.

Avatar
SDH

Community Member, 10 Posts

26 July 2010 at 3:44pm

Crickets chirping...

Happened to me too, exactly as you describe. I've been about to go looking to see what differences exist between the theme I want to use and blackcandy. Although I'm sure that it would be ten minutes work for someone who knew what to look for... Not sure when I'll actually get to this, though.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

27 July 2010 at 1:39am

Are you guys getting any Javascript errors? I don't think the theme should have anything to do with the Javascript.

Avatar
philwhite

Community Member, 24 Posts

27 July 2010 at 2:15am

I decided to style the site from scratch based in Blackcandy instead, so I'm not getting any problems now, but it wasn't giving any JS errors.

I tried about 4 or 5 downloaded themes in all, and they all showed the same behaviour.

As I say, it's not a problem as I shall be styling from scratch. I already have enough for demo purposes.

I've deleted the styles again, but from memory, it affected holeinone, higherground and pixelgreen as well as a couple of others whose names elude me.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

27 July 2010 at 2:42am

I can't imagine why that would be happening. I have dozens of sites using EventCalendar that use their own themes. You can see on the demo site http://eventcalendar.bluehousegroup.com we have our own theme.

Is calendar_widget.js being included in the source?

Avatar
SDH

Community Member, 10 Posts

27 July 2010 at 3:59am

Strange and interesting. When I look at your demo site link, it shows an error page: [Notice] Undefined variable: iCaltoArray, happening in iCalReader(). Looks like a nil return from iCalList() isn't handled?

Avatar
philwhite

Community Member, 24 Posts

27 July 2010 at 5:30am

Yep, so do I

Avatar
UncleCheese

Forum Moderator, 4102 Posts

27 July 2010 at 5:54am

Lol.. "Demo" is a bit of a misnomer at this point. Most of the time it's a sandbox. There's often a developer working in there.

Check it now, though.