Forum: Radiant CMS Event Calendar Extension in 0.7.1

Ec797ac7978ab39f04b0a5844c234528?d=identicon&s=25 Mohit Sindhwani (mohits)
on 2009-06-18 12:53
(Received via mailing list)
Hi!  I'm trying to use the events_calendar extension from:
http://github.com/davec/radiant-events-calendar-ex...

Now, this clearly has a branch for 0.7.1 so I installed that.  On the
other hand, it relies on share_layouts which has been upgraded to 0.8.0
- I was able to find the commit which was before the commit that said
'upgraded to 0.8.0' and installed that.

When I start the server, it looks fine.  The events tab is there.  But
when I go to the Events tab and click on "New Event", or I go to edit
any of the  Pages, I get an error that looks something like:

# In Events Tab >

Showing
/vendor/extensions/events_calendar/app/views/admin/events/_form.html.haml/
where line *#23* raised:

|wrong number of arguments (3 for 0)|

Extracted source (around line *#23*):

|20:               Start Time
21:               %br
22:               %span.note (optional)
23:             = f.time_select :start_time, { :default =>
@event.start_time ? @event.start_time : nil, :time_separator => '',
:minute_interval => 15, :include_blank => true, :simple_time_select =>
true }
24:         .time
|

# Clicking to edit a page:

Showing
/C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.7.1/app/views/admin/pages/_meta_row.html.haml/
where line *#6* raised:

|wrong number of arguments (3 for 0)|

Extracted source (around line *#6*):

|3:     %label{:for => "page_#{meta_row[:field]}"}
4:       = meta_row[:label] || meta_row[:field].humanize

Both seem to be related to the date_time helper or something similar.
Any idea what I can do?

Thanks,
Mohit.

5:   %td.field
|
This topic is locked and can not be replied to.