ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

Using plugins content in forms

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.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com