Hi there,

Speaking of calendar plugins:

I just joined this group, hoping anyone can help me out. I already
installed the sifr plugin and am now attempting to add the sponger
plugin to lovdbyless, with lots of calendar functionality. But it isnt
working, although it is working in an empty rails installation without
lovdbyless. Should I add lines to config/routes.rb? It throws a 404
and I dont see why it should. Any ideas? The installation instructions
of the plugin were:

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

3. Generate a controller for your app
ruby script/generate controller sponger

4. Add a method to your controller
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 for any suggestion

best wishes,
Jeroen Hoogeweij

--~--~---------~--~----~------------~-------~--~----~
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