View Single Post
  #9  
Old 03-20-2014, 11:14 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Create Custom css file in 5.0.12

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.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote