[Radiant] adding my controller in an extension

Raphael Bauduin rblists at gmail.com
Mon Apr 2 05:53:46 CDT 2007


Hi,

I'm looking to add code to handle a form's action. I wanted to add
extension with a controller, but got stuck into problems. What are the
steps involved in doing what I want? Is this correct:

- generate my extension
- edit the extension's class (child of Radiant::Extension) to add a
route to my controller. Question: is the controller visible or should
I require a certain file, or alter the paths searched for  requires?
- write my tests and controller code

Thanks in advance

Raph


-- 
Web database: http://www.myowndb.com
Free Software Developers Meeting: http://www.fosdem.org



More information about the Radiant mailing list