FacileForms 1.4.7. does not have this problem.
For example take
http://www.numericalexample.com/content/view/13/33/.
I can press the "Compute" button and execute the function ff_ok_button_action:
function generateRedirectUrl(pageNr)
{
<?php
$content_id = ff_getParam('ff_contentid');
if (is_numeric($content_id))
return "var id =".$content_id."; ";
else return "var id = 'not_called_by_mambot?';";
?>
<?php
global $Itemid;
return "var Itemid =".$Itemid."; ";
?>
return '{mossite}/content/view/' +
escape(id)+
'/' +escape(Itemid) +
'?ff_page=' +escape(pageNr)
} // generateRedirectUrl
.........................
function ff_ok_button_action(element, action)
{
...................
ff_redirectParent(generateRedirectUrl(1)+
'&ff_param_compButtonPressed=1' +
'&ff_param_f1=' +escape(f1) +
'&ff_param_f2=' +escape(f2)
);
}
After pressing the "Compute" button the page redirects to itself and we keep seeing "
www.numericalexample.com/content/view/13/33/" in the address section of the browser. When I do this with Joomla 1.5.3 and BreezingForms 1.5.1b1 the page redirects but in the address section of the browser we would see "
www.numericalexample.com/index.php". I tried lots of different versions of generateRedirectUrl, for example:
function GenerateRedirectUrl(pageNr)
{
<?php
$content_id = ff_getParam('ff_contentid');
if (is_numeric($content_id))
return 'var id ='.$content_id.'; ';
else return "var id = 'not_called_by_mambot?';";
?>
<?php
global $Itemid;
return 'var Itemid ='.$Itemid.'; ';
?>
return '{mossite}/index.php?view=article&id=' +
escape(id)+
'&option=com_content&Itemid=' +Itemid +
'&ff_page=' +escape(pageNr);
/*
or
return '{mossite}/index.php?option=com_content&view=article&id=13%3Aleesbril&catid=17%3Azintuigen&Itemid=33&ff_page=1';
or
return '{mossite}/index.php?option=com_content&view=article&id=13:leesbril&catid=17:zintuigen&Itemid=33&ff_page=1';
or
return '{mossite}/index.php?option=com_content&view=article&id=13&catid=17&Itemid=33&ff_page=1';
return '{mossite}/index.php?option=com_content&view=article&id=13&Itemid=33&ff_page=1';
*/
} // rvbCommon_GenerateRedirectUrl
None of these possible return's work for me.
This is very important for me because of the Google Adsense adverts I host on my sites and because it might be that the same problem breaks the integration between BreezingForms and a graphics package as well.
My old sites show graphs within FacileForms, for example press compute on
http://www.numericalexample.com/content/view/47/36/