Page 1 of 1

Re: Question with building module, editing database tabel

Posted: Sun Oct 19, 2008 4:08 pm
by Dee
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

Re: Question with building module, editing database tabel

Posted: Sun Oct 19, 2008 4:14 pm
by Dee
You could also make a new section

Code: Select all

if (action == 'editcompositie')
{

}
inside the DoAction function, but it's nicer to keep the code separated.

Regards,
D