Jump to content

change image link in editorial to https


Recommended Posts

Hi everyone,

still being a newbie I have almost finished a setup of a prestashop 1.4.6.

 

As I have switched to SSL now I would like to display ALL pages with SSL.

Unfortunately some components are still loaded via http instead of https after activation of SSL.

 

In the editorial module the image src is still displayed as http://.....

 

But I couldn't find where the http:// part of the URL should be changed to https://

 

Does someone know how to achieve this?

Thank you for your help.

Link to comment
Share on other sites

  • 1 year later...

It really sucks that there are more threads on prestashop with no answers than with answers. i will answer this question for future users, as I had the same problem. I am really surprised how few people either use this module with SSL, or care about having a site with an unbroken sSL page.

 

The solution is to hard code the link in. Since the editorial module will never change the name of the homepage image, it will work fine.

{if $homepage_logo}<img src="/modules/editorial/homepage_logo_1.jpg" alt="{$editorial->body_title|escape:'htmlall':'UTF-8'|stripslashes}" {if $image_width}width="{$image_width}"{/if} {if $image_height}height="{$image_height}" {/if}/>{/if}
  • Like 2
Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...

Hi, I have the same issue on 1.4.9. I just tried replacing the code in the editorial.tpl to the code you have posted above but it didn't fix the issue with the editorial module, can anyone please help with this?.. basically the only thing displaying unsecure content on my website is that module..

 

Thanks In advance

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...