You created a module and you get an error message when installing it, try to call your hooks register after
the parent::install method
For example:
if (!parent::install()) return false;
Try to put this code at the beginning of the install function, if it doesn't solve your problem, try to debug your hook functions and see if thay returns false, in this case, you shouldd correct the errors in those functions, To debug, you can use var_dump function
For example:
var_dump($this->registerHook('leftColumn'));exit;
Ce commentaire a été supprimé par un administrateur du blog.
RépondreSupprimer