–Hidden comment

Use attributes in format region_from and region_to= to change the languages showing in language switcher.
Available regions are:
europe_from europe_to
asia_from asia_to
mideast_from mideast_to
america_from america_to

Example:
europe_from=0 europe_to=22 will put all languages (ordered in language switcher settings) from 1 to 21 to Europe region:
asia_from=22 asia_to=25 will put all languages from 23 to 24 (so only 2) into Asia region.

BreezingForms (Joomla! Extension)

The most advanced forms builder for Joomla. Well supported and frequently updated, always ahead.

BreezingForms is a Joomla extension to help you manage various registration forms. This integration integrates “per lead” transaction – a sale commission with no order amount.

Adding a function with thge tracking code

First step is to create a special function that we can call when onclick method for your submit button is triggered. Navigate to your joomla directory /components/com_breezingforms/ and open file ‘facileforms.process.php’ for edit. Now, find the code of your form – it depends on what settings did you choose in module configuration. In this example we are modifying a form for “Quick mode“.

  • find this text: switch ($this->runmode) { case _FF_RUNMODE_FRONTEND:case _FF_RUNMODE_FRONTEND:
  • now locate the first occurrence of line:
echo '</form>'.nl();
  • add the following code ABOVE the line with
</form>

// Post Affiliate Pro integration snippet
        echo '<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
              <script type="text/javascript">
              function trackIt() {'."
                PostAffTracker.setAccountId('Account_ID');
                var sale = PostAffTracker.createSale();
                sale.setTotalCost('');
                sale.setOrderID(\"registration\");

                PostAffTracker.register();".'
              }
              </script>';
        // /Post Affiliate Pro integration snippet

Setting the function for an onclick event

Locate file /administrator/components/com_breezingforms/libraries/crosstec/classes/BFQuickMode.php and open it for edit.

  • locate onclick method in your submit button… there are more unfortunately.
  • insert this line into the onclick event the way it is first in a row:
trackIt();

That’s it. Now when the submit button is clicked, a new lead is generated.

Back to Integrations Create account for FREE
Integration with Joomla 2.5.X

Integration with Joomla 2.5.X

Integration with Joomla 2.5.X

Would you like to improve your affiliate software even more? Check out the JReviews (Joomla! Extension and WordPress plugin) for Post Affiliate Pro.

JReviews (Joomla! Extension and WordPress plugin)

Would you like to improve your affiliate software even more? Check out the JReviews (Joomla! Extension and WordPress plugin) for Post Affiliate Pro.

Integration with Joomla 3

Integration with Joomla 3

Integration with Joomla 3

Integration with Joomla 1.5.X and lower

Integration with Joomla 1.5.X and lower

Integration with Joomla 1.5.X and lower

Our website uses cookies. By continuing we assume your permission to deploy cookies as detailed in our privacy and cookies policy.

×

Schedule a one-on-one call and discover how Post Affiliate Pro can benefit your business.

We’re available on multiple dates

Schedule a call