DidierF Posted March 6, 2015 Share Posted March 6, 2015 (edited) Right now I'm following a tutorial (http://doc.prestashop.com/display/PS15/Creating+a+PrestaShop+module) to create a custom module for a site, and everything goes fine but when I added the css file it won't change anything. The module is not in the theme folder, not sure if that changes anything, but I think I tried putting it there and it didn't work. Also I tried adding a link to another tpl file and it didn't work either. How can I make my module read the other files? UPDATE: Changed something in the main tpl of the module and nothing happened, even uninstalled and reinstalled the module and it keeps doing the same thing as before, as if it was loading it from some kind of cache or something. Edited March 6, 2015 by DidierF (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted March 7, 2015 Share Posted March 7, 2015 Can you tell us how you are adding the css? Is it just not reading it in terms of styling, or is the file not added at all to the front office resources? Also, are you running APC on the server? Try clearing presta's cache as well from the performance tab Link to comment Share on other sites More sharing options...
DidierF Posted March 9, 2015 Author Share Posted March 9, 2015 (edited) Can you tell us how you are adding the css? Is it just not reading it in terms of styling, or is the file not added at all to the front office resources? Also, are you running APC on the server? Try clearing presta's cache as well from the performance tab As I stated in the update, I'm not sure what it is doing but it looks like it's not using any of the files but loading from somewhere else. Already tried deleting the cache from prestashop's folder and disabling it from the performance preferences.. Still doing the same thing. Not sure what APC is so can't tell if I'm running it. Edited March 9, 2015 by DidierF (see edit history) Link to comment Share on other sites More sharing options...
DidierF Posted March 9, 2015 Author Share Posted March 9, 2015 I just restarted the tutorial and copying everything from the start and it worked perfect. It looks like it was the route that was wrong somehow. 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