chronoform with community builder

lexdigit 18 May, 2009
I searched a lot but I didn't find any solution.
When a visitor is visiting a registered user's profile, I would'like to display a form that could be sent to the user.
There is any way to display a form in a user profile tab and send it to the user ?
Max_admin 19 May, 2009
Hi lexdigit,

Which user profile ? do you mean you are using Community builder ?

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
lexdigit 19 May, 2009
Yes, I use community builder.
Max_admin 20 May, 2009
Then you need a community builder plugin to load the form inside a tab, or is there a solution to load Joomla content plugins inside tabs ? if there is then you may include the form using the plugin!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
lexdigit 20 May, 2009
Ok, I solved the problems in this way :

-Include the form in a content article.
-Publish the content article in a module (with mod_placehere).
- Add this code to the form in order to get user email:
<?php $val = $_GET['user'];?>
<?php $user = &JFactory::getUser($val); ?>
<input name="mailto" id="mailto" type="hidden" value="<?php if ($user->id > 0) echo $user->email ; ?>" />

-Publish the mod_placehere trough mod_metamod when a user profile is displayed.

This work for public and registered visitors.

Thanks for Help and suggestion Max.
Max_admin 21 May, 2009
Thank you for posting this too, one note is that you didn't need to use mod_placehere because Chronoforms has its own module!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
lexdigit 21 May, 2009
Ok, I fount it, with chrono module is more simple.
Thanks.
This topic is locked and no more replies can be posted.