This project is read-only.

Custom Action

Mar 4, 2010 at 4:05 PM

I want to add a "delete" option in the list view of Open Forum if I am logged in as an admin. This will allow me to "modeate" the forum and delete spam etc.

I can see how to customize the views but can't seem to find out how to customize the controller to add the delete code. Is it possible to add this functionality and if so what approach should I take?

Mar 4, 2010 at 4:48 PM

There are two ideas that come to mind. The first would be to create a seperate controller and add any custom logic to that.

The second would be to actually pull the OpenForum source code and add it to that. If you go that route, it would be great if you could send me your changes and I could push them back into the core.

Hope that helps.