HI there,

Could anyone help me out?

Just joined this group, am adding some plugins to lovdbyless. The sifr
plugin seems to be working. But when i install the sponger calendar
plugin, it throws a 404.... should I add a few lines in config/
routes.rb? If so, which? I installed the  plugin locally without
lovdbyless and it seemed to be working just fine. The installation
instructions were:

script/plugin install http://sponger.googlecode.com/svn/trunk/plugins/sponger

script/generate controller sponger

Edit the file app/controller/sponger_controller.rb and the following
method:
  #gets all events from 2008-04-15 that were created from
remindblast.com
  def events
    @events =
Sponger::Event.find(:all,:params=>{:calendar_id=>137619,:start_time=>Date.new(2008,04,15)})
  end

5. Add a view
Create the file app/views/sponger/events.rhtml and paste the following
into it:
<% for event in @events -%>
  <%= h event.title %>
  <br>
<% end -%>

6. Start your server
ruby script/server start

Thanks in advance.

best wishes,
Jeroen


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Lovd by Less" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/lovdbyless?hl=en
Who loves ya baby?
-~----------~----~----~----~------~----~------~--~---

Reply via email to