Hey all,

I'm trying to build my own radiant plugin to handle a store locator type functionality. I'm working from Loren Johnson's Directory plugin (http://github.com/lorenjohnson/radiant-directory-extension/tree/master ) but I want to do things a little different. Notably, I want to replace his logic with the geokit acts_as_mappable. I'm not sure what is the best way to do this. I've looked at a few other plugins and I think I know what I should do but I really need someone to give me a yes/no on this approach.

Currently I want to do the following:

1) Copy the contents of http://geokit.rubyforge.org/svn/trunk/lib/ to / vendor/extension/location/lib 2) In the location_extension.rb replicate the contents of http://geokit.rubyforge.org/svn/trunk/init.rb in the activate method 3) Replace all references to the geokit configuration values in the library with calls to Radiant::Config
4) Set default config values in the extension's activate method.

Does this make sense? Is there a better way to do it?

Adam
_______________________________________________
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