[Radiant] Lib loading/requiring for an extension

Adam Williams adam at thewilliams.ws
Tue Apr 3 14:25:41 CDT 2007


On Apr 3, 2007, at 2:41 PM, Karl Doody wrote:

> It requires a file in the lib/ directory and a 'require' in
> environment.rb
>
> The former I can do, but in the extension's lib directory. The latter
> I can't (as an extension). I followed this post http://
> lists.radiantcms.org/pipermail/radiant/2007-January/003160.html but
> still no joy.
>
> Any ideas? Is this do-able?

So, as I understand it, you need to require a file in your  
extension's lib directory? Any reason you can't do this in your  
extension's activate method?

  adam williams



More information about the Radiant mailing list