leteint Posted July 20, 2015 Share Posted July 20, 2015 Hello, Would like to change the IMG directory for a prestashop 1.6.0.14 ;So I changed in defines_uri.inc.php & defines.inc.pho some globals variable as _THEME_IMG_DIR_ ;I checked the way the images were called in my theme (not always using globals variables) ; But It doesn't works : the images are not displayed. Did I missed something ? any suggestion please ? Thanks in advance Link to comment Share on other sites More sharing options...
leteint Posted July 21, 2015 Author Share Posted July 21, 2015 Need also to change .htaccess on the root where img is set in hard ! ;-) Link to comment Share on other sites More sharing options...
leteint Posted July 24, 2015 Author Share Posted July 24, 2015 (edited) In fact, it's a mess : in prestashop, many modules are coded with 'img' instead of using the global variable ... In the path, regexp .... I Don't know how many times I seen that : a big big mess ...if you want to have a look, you could try something like : grep -r -i -l "img/" ./ | grep ".tpl" (and that just for the tpl files ...) Good luck guys ... Edited July 24, 2015 by leteint (see edit history) 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