braveman Posted August 10, 2012 Share Posted August 10, 2012 Hi Folks, Im a newbie to both PHP and Presta, so apologies if my question is very primitive. Im changing the Manufacturer module to show manufacturer logo image among the name, im running on a test server at lab with LAMP. The problem is when im using _PS_MANU_IMG_DIR_ it returns something like "/var/www/html/...." so its apparent the image is not shown, I got that its using currentDir variable. Im totally mixed for for last hour. Can anyone show me what is my problem and the concept by this directories and how can i overcome to find manufacturer image dir using the predefined variables; TIA. -- MSH Link to comment Share on other sites More sharing options...
shacker Posted August 10, 2012 Share Posted August 10, 2012 you need to use this code <img src="{$img_manu_dir}{$manufacturer.id_manufacturer}-medium.jpg"> 1 Link to comment Share on other sites More sharing options...
braveman Posted August 10, 2012 Author Share Posted August 10, 2012 thank you man, it works well Link to comment Share on other sites More sharing options...
shacker Posted August 11, 2012 Share Posted August 11, 2012 perfect.. Change post title to solved please Link to comment Share on other sites More sharing options...
Recommended Posts