# Event Calendar Extension in 0.7.1

**URL:** <https://www.ruby-forum.com/t/event-calendar-extension-in-0-7-1/170513>\
**Category:** Radiant CMS\
**Created:** [June 18, 2009, 12:53pm UTC](https://www.ruby-forum.com/t/event-calendar-extension-in-0-7-1/170513 "2009-06-18T12:53:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohits](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/bbe5ce/32.png) [@mohits](https://www.ruby-forum.com/u/mohits)\
**Post date:** [June 18, 2009, 12:53pm UTC](https://www.ruby-forum.com/t/event-calendar-extension-in-0-7-1/170513/1 "2009-06-18T12:53:57Z")

</div>

Hi! I’m trying to use the events\_calendar extension from:

> **[GitHub - davec/radiant-events-calendar-extension at radiant-0.7.1](https://github.com/davec/radiant-events-calendar-extension/tree/radiant-0.7.1)**
>
> radiant-0.7.1

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  
|
