The simple_form function only produces http links for the action.
Is there a way for it to use https? We have a simple_form on one of our secure pages
and it is causing a problem with mixed content. It is the only one with http link.
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
September 06, 2011 11:10am
Subscribe [3]#1 / Sep 06, 2011 11:10am
The simple_form function only produces http links for the action.
Is there a way for it to use https? We have a simple_form on one of our secure pages
and it is causing a problem with mixed content. It is the only one with http link.
#2 / Sep 06, 2011 11:20am
Maybe this could be of help: http://www.bybjorn.com/598/
In index.php if you’re on HTTPS you can change the site_url in the config to use https in which case all forms would be generated with https://.
#3 / Sep 06, 2011 6:59pm
No, I don’t want to make my entire site https.
#4 / Sep 06, 2011 7:36pm
Try using one of these plugins:
DM Force SSL
http://devot-ee.com/add-ons/dm-force-ssl
or
HTTPS Support
http://devot-ee.com/add-ons/https-support
Both are free and can be used to force SSL on a specified template. If I recall correctly https support even rewrites the URLs to CSS files etc too.
#5 / Aug 06, 2012 9:30am
I’m having trouble using DM Foce SSL…
I place the tag
{exp:dm_force_ssl:force}in my template and it does nothing
#6 / Aug 06, 2012 10:12am
@tabboy, you should not hijack this thread and create your own instead.