Image Caption

Wednesday, July 18, 2012

Chronoform Force SSL [solved]

Step:1
Open the file

administrator\components\com_chronoforms\form_actions\show_html\cfaction_show_html.php

Step:2

Replace all $uri->root() to $ssluri 

Step:3

Add line next to line:14 in cfaction_show_html.php
$ssluri = str_replace('http:', 'https:',$uri->root());

After added line then content look like this:

class CfactionShowHtmlHelper{
function loadAction($form, $actiondata){
$params = new JParameter($actiondata->params);
$output = '';
$mainframe =& JFactory::getApplication();
$uri =& JFactory::getURI();
$ssluri = str_replace('http:', 'https:',$uri->root());

1 comment:

Anonymous said...

Thank you! Great help!