jccyunior Posted January 18, 2014 Share Posted January 18, 2014 Good afternoon. I have enabled the SSL certificate with the option: Preferences / General / Enable SSL I would like to know how I can enable more pages besides my account and the order process. I wanted to add solo the ssl pages: - Forgot your password? - My account / loyalty - And some CMS pages (Payment, Conditional ...) Thank you. Link to comment Share on other sites More sharing options...
NemoPS Posted January 20, 2014 Share Posted January 20, 2014 Actually, an ssl certificate works per domain (as far as I know). You can use it on every page, by simply linking that page with https instead of http For the loyalty, where the link is displayed (can't remember the tpl file), a $link->getModuleLink call should be creating the url. It should be enough to add "true" (without quotes) as the fourth parameter As for the password, add a second parameter as 'true' again Then, for cms, add true as THIRD parameter Link to comment Share on other sites More sharing options...
vekia Posted January 20, 2014 Share Posted January 20, 2014 in preferences > general there is an option to "force ssl connection" for all pages. turn this option on. to turn on ssl only on certain pages - you have to modify controllers of these pages. it's necessary to add $this->ssl = true to init function (of each controller you want to run with secured connection) 2 Link to comment Share on other sites More sharing options...
NemoPS Posted January 20, 2014 Share Posted January 20, 2014 An why don't I ever look into options :D Link to comment Share on other sites More sharing options...
El Patron Posted January 20, 2014 Share Posted January 20, 2014 be very careful when doing this, make sure to test 'all' cart functions, i.e. add to cart then navigate to other parts of your shop switching between ssl and non-ssl. There have been 'some' issues of losing cart products, login issues etc when done improperly. 1 Link to comment Share on other sites More sharing options...
vincent89 Posted July 10, 2014 Share Posted July 10, 2014 prestashop 1.6.0.8 I Found the solution without modify anything in the presta files. enable ssl and force the ssl on all pages but uncheck html purifier library (very important). you could enable it after insert the image. then go on CMS (exemple: about us) the image who's already there when you install prestashop work well even in ssl so you have to copy how they wrote the code. <img title="cms-img" src="../img/cms/cms-img.jpg" alt="cms-img" width="370" height="192" /> replace by your name image <img title="your name image" src="../img/cms/your name image.jpg" alt="your name image" width="370" height="192" /> write this way on the little popup window [insert/edit image] right after uploaded and chose the image from your file manager. source ../img/cms/your name image.jpg image description .... dimensions ... Save it and go to enable the html filter purifier if you done to put new images. Now it should work. your image is here and your page is still SSL. ps: you'll have to disable html purifier library every time you need to add a new picture from your file manager otherwise it will appear this famous question mark instead of the image and your page won't be SSL It tooks 2weeks to found that, I hope you'll appreciate this post. That's the most annoying bug on prestashop, I don't even know why the Presta team didn't fix that so far!!!!???? I still have a problem with the homeslider who's disappear when running on Safari, need to refresh the page every time I come back on the home page!!! if somebody have the Solution I'll appreciate to know it thanks vince 1 Link to comment Share on other sites More sharing options...
vekia Posted July 11, 2014 Share Posted July 11, 2014 stop posting this message everywhere in this case it's not useful ssl controllers aren't totally related to purifier things, it's a core case, not template files Link to comment Share on other sites More sharing options...
zabamich Posted November 11, 2014 Share Posted November 11, 2014 how to force html purifier library keeping off when ssl is active for all pages??I would like to add youtube movies to product description, but when movie link is added and ssl for all pages is active you can't see this movie on the product page.When I back to general setting html Purifier library is triggered as active.Any Solution?? 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