BoKr Posted December 30, 2013 Share Posted December 30, 2013 Hellowhy does the loading of a module's image break SSL?I noticed that the old Paypal module V3.48 (we have to use this one) broke the https/SSL of our backoffice. At least that is what the browsers postponed.Namely, the "http://www.mysite.com/modules/paypal/logo.gif".In the modules \modules\paypal\views\templates\back\admin_order\refund.tpl I found this:<legend><img src="{$base_url}modules/{$module_name}/logo.gif" alt="" />{l s='PayPal Refund' mod='paypal'}</legend>I exchanged the reference with https://www.mysite.com/modules/paypal/logo.gif and all is fine!Is there a more sofisticated solution of making use of Pretas' variables and on the otherhand not 'breaking' https/SSL as in this case?thanks a lotand a happy new year Link to comment Share on other sites More sharing options...
vekia Posted December 30, 2013 Share Posted December 30, 2013 instead of {$base_url} use {$content_dir} or {$base_url_ssl} Link to comment Share on other sites More sharing options...
BoKr Posted December 30, 2013 Author Share Posted December 30, 2013 Thank you vekia! A great new year to you and thanks for all the help you gave to the community! Link to comment Share on other sites More sharing options...
vekia Posted January 7, 2014 Share Posted January 7, 2014 hello im back for this, it's better to use {$content_dir} instead of {$base_url_ssl} why? when you will use base_url_ssl - when you will be connected with non-secured protocol, you will generate links to https libraries. it will be bad due to the "mixed content" filtering Link to comment Share on other sites More sharing options...
BoKr Posted January 26, 2015 Author Share Posted January 26, 2015 12 months later and I start looking for this information again and happily find it Thank you for the updated information Vekia. It seems that the topical PayPal module uses the SSL breaking call again. 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