Current release is 2.1.5
(31 Oct 2014).
Users who have not yet upgraded to 2.1 should get security release 22.214.171.124
(1 Nov 2014). We will stop providing these security releases to 2.0 at the end of this year.
How do I extend the application controllers with my own methods?
As I want to make an addition to the registration process.
I was planning on doing this by extending a couple of core files...
... in a custom theme:
The view file is great. It loads in, and I can see my changes.
But I don't know how to handle the controller, including:
* What folder to put it in
* The controller declaration (ie CustomEntryController X extends EntryController)
* Anything else I haven't mentioned here
* Whether this is even possible with this approach
My plan was to overload RegisterApproval() and check that the DiscoveryText was in fact the answer to a question I was going to ask in the view.
It's not a particularly MVC approach (I see there are rules that could be set in the model) but I don't know Garden / Vanilla well enough yet. I'm happy to try anything else as well (hooks/events/Machine Elves) as I prefer to do things properly.
0 · ·