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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

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

event_calendar


Go to End


5 Posts   797 Views

Avatar
wilsonStaff

Community Member, 143 Posts

14 October 2011 at 2:03pm

Hi, i am in the need of a calendar that will:

- generate a calendar
- lets user add events to their will
- events show in the calendar
- once clicked, the date reveals the description
- let visitors register and pay for the event

- - -

I have installed the event_calendar along event_registration module. I can:

- create a calendar page
- create a registration event

But how in hell do i insert the calendar into the Page.ss template????? When i click on the Calendar page DRAFT SITE, it show nothing! Only the basic Page.ss template.

Also, i miss the Event Description Behavior tab.

SS 2.4.5
Event_calendar module
eventmanagement module (is it the right name?)
payment module
multiform module

Thanks!

Avatar
DanStephenson

Community Member, 116 Posts

17 October 2011 at 8:32am

Wilson,

Please be patient. Your thread is a little confusing, as you seem to be talking about more than 1 thing here. Inserting a calendar into your Page.ss is a theming issue for the most part, and events showing up or not showing up is a very different problem.

Have you read the getting started guide?

If the events aren't showing up, my best guess is you haven't given them a proper date/time.

Avatar
wilsonStaff

Community Member, 143 Posts

17 October 2011 at 10:55am

Edited: 17/10/2011 10:56am

Hi Dan, sorry about that. Ive been looking around for help for days regarding that issue.

Lets get this straight. Yes, i do want to insert a Calendar (i am using event_calendar) into Page.ss template.

I guess i must create a Calendar.ss template and insert it into Page.ss using <% control Page(Calendar) %> in a proper container <div>.

Did that, and now when i click on DRAFT SITE for the Calendar page in the CMS, it properly shows the content of Calendar.ss.

But no sign of a calendar (hence no events) at all.

Do i have to use something like $Calendar into Calendar.ss ?????

- -

Tell me if i am wrong: if event are outsynched (improper start/end dates), should the calendar be visible, but showing no events?

Thanks for helping!

Avatar
wilsonStaff

Community Member, 143 Posts

18 October 2011 at 10:08am

Edited: 18/10/2011 10:15am

Hi to all, some news.

I did what Dan (thanks) suggested:

- install a fresh SS copy on the server
- using a new user
- using a new DB
- using Candy as theme
- nstalled event_calandar module
- dev/build
- created a calendar page
- created an calendar event page
- clicked on DRAFT view...

VOILÀ! I can see the calendar in action along my events.

BUT, Its still not working on my main site.

- - -

Any suggestions on how to debug?

Hint1: When i do try to see it, it shows me an unstructured page (CCS problem) with the calendar missing (but the events are there).
Hint2: i had to manually move Calendar.ss and CalendarEvent.ss to show the Calendar page (even if unstructured). Which i didnt have to do when using Candy as a theme on the fresh install.

While waiting for some answers, i will try to switch theme from MY THEME to CANDY into _config.php.

Ill start from there.

Thanks!

Avatar
wilsonStaff

Community Member, 143 Posts

18 October 2011 at 3:54pm

Ok, i switched themes from MYTHEME to BLACKCNADY and the calendar does show up.

So something is my custom themes isnt working right and conflicts with the event-calendar module.

Any idea?

Thanks!