4lO5AN Posted January 30, 2014 Share Posted January 30, 2014 Bonjour , Je suis actuellement en train de développer un module qui utilise un contrôleur admin. Ma question est de savoir comment placer mon fichier.php dans controlleurs/admin à l'installation de mon module qui est en format zip . Et la même question pour ma template qui doit aller dans admin/themes/default/template/controllers/monmodule/content.tpl J’espère que ma question est assez clair ! Merci Link to comment Share on other sites More sharing options...
4lO5AN Posted January 30, 2014 Author Share Posted January 30, 2014 Trouvé ! Il faut utiliser @copy @copy(_PS_MODULE_DIR_.$this->name.'/cpy/controllers/fichier.php', _PS_ROOT_DIR_.'/controllers/admin/fichier.php'); Le gris correspond au fichier à la source et en noir la destination !! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now