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!

mambot working inside form

seppo 19 Jun, 2007
I should create a simple emailing form, similiar to one at normal contact page, but with dropdown box to select user it refers to. To create this kind of form I'd like to use chronoforms.
I have also installed contact information mambot, with which I can easily get some information from contacts of Joomla.

But it seems I cannot combine these too, to have i.e. something like this:

<select name="person" id="person">
 <option>{contactinfo 1}[name]{/contactinfo}</option>
 <option>{contactinfo 2}[name]{/contactinfo}</option>
 <option>{contactinfo 3}[name]{/contactinfo}</option>
</select>

So is it possible to have some mambot functioning inside a form?
Max_admin 19 Jun, 2007
Hi,

Iam sorry but it is NOT possible to even have any types of mambots to work inside any type of components by default, a small hack is needed to achieve this!!

If you are interested in it then I will be glad to write it here!🙂

Cheers

Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
seppo 20 Jun, 2007
Thank you for this offer, I would be glad to take it! :cheer:
This would be needful, I guess in many cases too😉

Awesome component adn support you have here!
Max_admin 20 Jun, 2007
Great, Please see how can I apply a mambot to a line of text at a component :

$videocode = '{mambot}'.$rows[0]->name.'{/mambot}';
		   global $_MAMBOTS;
		   $_MAMBOTS->loadBotGroup( 'content' );
		   $rowc->text = $videocode;
		   $results = $_MAMBOTS->trigger( 'onPrepareContent', array( &$rowc, &$params, $page ), true );
		   $videocode = $rowc->text;
			// end - enable "content type" plugin parsing
			echo $videocode;

of course you need to test this code and try many time till you know how exactly it works.

Cheers

Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
seppo 20 Jun, 2007
Thank you Max, this works nicely!🙂

I didn't have lisence before but this GREAT help made me puchase one!😉
Max_admin 20 Jun, 2007
Thanks, I'm glad I could help, Thanks for buying one, but did everything went fine at the payment process ? I didn't receive a notification with your name and email from 2CO so I can send you a licensed version!!🙂

Cheers

Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
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