fabio_br Posted December 29, 2016 Share Posted December 29, 2016 (edited) Hi Im following a tuturial to make one module but this errors pop up and i cant follow the tutorial using this code to create a php file <?phpclass MyModComments extends Module{public function __construct( ){$this- >name = ' mymodcomments' ;$this- >tab = ' front_office_features' ;$this- >version = ' 0. 1' ;$this->author = 'Fabio Miranda' ;$this- >displayName = ' My Module of product comments' ;$this- >description = ' With this module, your customers will be able to grade and comments your products. ' ;parent: : __construct( ) ;}} and im receiving this errors: 2 erros mymodcomments (erro de compilação em /modules/mymodcomments/mymodcomments.php) mymodcomments (classe faltando em /modules/mymodcomments/mymodcomments.php) What is wrong with the code??? I´m using prestashop 1.6.1.10 Edited December 29, 2016 by fabio_br (see edit history) Link to comment Share on other sites More sharing options...
fabio_br Posted December 29, 2016 Author Share Posted December 29, 2016 I found the problem... forget to clean cache... tx anyway 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