[Radiant] Lib loading/requiring for an extension

Karl Doody kdoody at mac.com
Tue Apr 3 13:41:28 CDT 2007


Hi all, quick question.

I've used this hack effectively in a normal rails app: http:// 
www.pluitsolutions.com/2007/03/20/custom-in_place_edit-with-validation/

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?

Kind regards,
-Karl



More information about the Radiant mailing list