Create a file called action.editcompositie.php in your module folder.
Similarly you could move the code from between the if ($action == 'default') { } in function DoAction to action.default.php
Regards,
D
Question with building module, editing database tabel
Re: Question with building module, editing database tabel
You could also make a new section
inside the DoAction function, but it's nicer to keep the code separated.
Regards,
D
Code: Select all
if (action == 'editcompositie')
{
}
Regards,
D