Image Caption
Showing posts with label ssl issue in chronoforms. Show all posts
Showing posts with label ssl issue in chronoforms. Show all posts

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());