Quote:
Originally Posted by taponitrof
According to the instructions, you don't create the main.php file, only the module file. However, I did create a main.php file and the module shows up in admin / modules, but it is impossible to enable it. Even after compile, it is not checked as enabled.
|
Main.php is the "descriptor" file that tells X-Cart 5 about the module and explains how X-Cart 5 can use it. Every X-Cart 5 module require this file:
http://kb.x-cart.com/display/XDD/How+to+create+a+module
What do you mean by saying that it is impossible to enable your module? Is the checkbox disabled? Usually for a new module you are to rebuild the cache twice: the first time to get the new module show up in the list, and the second time after ticking the Enable checkbox next to the module and submitting the form to the server.
Quote:
Originally Posted by taponitrof
Also strange, even though the Theme tweaker enabled, that doesn't work either.
|
It may be your browser cache. Does CTRL+F5 (or CTRL+R) help? You may also try to clear the browser cache from the browser menu.