aimilios Posted September 18, 2012 Share Posted September 18, 2012 (edited) Hello everyone! i have an ssl problem with tmcategories and slider1 images. All these images have unsecure url (http) and google chrome show my ssl yellow. I run the inspector in chrome and it show that only these images have that problem. i try to change the url from the category-tree-branch.tpl file in line 9 from: <img src="{$link->getPageLink('index.php')}img/c/{$child.id}-category.jpg" alt="" /> to: <img src="https://www.mydomain.com/img/c/{$child.id}-category.jpg" alt="" /> and when i force compile the site i don't have problem and the ssl is green, but when i disable force complile the problem is still there (yellow). Can anyone help me to fix it? Edited September 20, 2012 by aimilios (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 18, 2012 Share Posted September 18, 2012 Hello aimilios, thank you for the message. What version of PrestaShop are you currently using? Try to take of the "https" and see if that works. Link to comment Share on other sites More sharing options...
aimilios Posted September 19, 2012 Author Share Posted September 19, 2012 Hello Benjamin, thank you for your quick response. I am using 1.4.8.2 version i try http://www.mydomain.com i and i still have the problem i try www.mydomain.com and i have error with images any other solution? Link to comment Share on other sites More sharing options...
aimilios Posted September 20, 2012 Author Share Posted September 20, 2012 Ok, i check it again and i found that the solution is to add 'true' after getpagelink. The correct link is-> <img src="{$link->getPageLink('index.php', true)}img/c/{$child.id}-category.jpg" alt="" /> Also i solve the problem with cache by delete everything into smarty/cache and compile files. 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