Hi

I've built a simple events extension that has it's own tags. I'm currently
trying to incorporate the calendar_helper plugin from Topfunky:

http://topfunky.net/svn/plugins/calendar_helper/

I want to be able to generate a simple calendar from a Radius tag but I
always get an undefined method error. I've used the page_attachments
extension as a basic guide for incorporating a plugin into a Radiant
extension. I've placed the plugin in the lib/ folder of my extension and
have put the content of the init.rb file into the activate method.

Is there a way I definitely can tell if the plugin has been loaded?

The other possible issue might be that the plugin is mixed into
ActionView::Base which isn't available from Radius tags:

ActionView::Base.send :include, CalendarHelper

Any suggestions would be greatly appreciated.

Cheers

Dylan
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to