Using plugins content in forms

Display content plugin code within a ChronoForms form.

Overview

The issue occurs when content plugin codes inside a CF form are not processed correctly, often due to plugin ordering on the server.
Ensure the ChronoForms content plugin is ordered first in the Joomla plugin manager, then embed the form using its plugin tag in a module.

Answered
Fl FloB 30 Nov, 2015
Answer
Hello,

For those who have the same problem I spend on several days....

What I want to do is : display a form within a custom HTML module, this form contening some content plugin code.

Form :
Name = "Test"
Designer layout
Custom :
{chronoconnectivity5}MyListing{/chronoconnectivity5} //if you have a connection named MyListing
{google_map}{address}{/google_map}
//or whatever pluging code you want

Setup
Custom code :
<?php
$form->data['address']="36 quai des orfèvres, Paris"; //for exemple
?>


Custom HTML module
{chronoforms5}Test{/chronoforms5}


Make sure the chronoforms pluging is the first plugin content when you sort the content plugin by "ordering".

Enjoy

Nota : I have tried on my local server, and the pluging codes are correctly interpreted whatever the order of the pluging is, but with a real server, the order makes a difference (that why, I spend so much time on this). Don't know why.
This topic is locked and no more replies can be posted.