How to install script, helper...??

For Joomla! 1.5 Coding related discussions, please use: http://groups.google.com/group/joomla-dev-general
Locked
hjortsberg
Joomla! Explorer
Joomla! Explorer
Posts: 359
Joined: Sun Jun 22, 2008 4:25 pm

How to install script, helper...??

Post by hjortsberg » Tue Jan 22, 2013 8:27 pm

I have a custom component and in one of the views the user is to create/install a new event.
If a checkbox is checked, a new row should be inserted into a table in db with some info (actually there is many rows in many tables...).

In my controller for my component I have the class, in the class I have a lot of functions, in one of the functions I have an "if", if the checkbox is checked in the form, an insert is made...

I want a class (or whatever) to be called from the controller if the checkbox is checked but I can't figure out how to make a helper (or what it is that I need...)...

Could someone pleeeeezzzzzeeeeeee help me get started on how to run code this way??

Locked

Return to “Joomla! 1.5 Coding”