Jump to content

Change IMG directory


leteint

Recommended Posts

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

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 by leteint (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...