Hello,
I look good on your forum but nothing works. Here I use version 3.1 of ChronoForms. Here is my problem:
I have a joomla site, and a form accessible to people connected. And I want without asking the name of the person, retrieve this information in the email sent me the form. I found a lot of code but I never understand where to put it in ChronoForms. Often noted to put at the beginning of html, so I open my form and that's what I do, but it does not work. Have you a solution, perhaps with a print screen because I speak English and it is not easy even with the translation button to find the answer to my problem. That is the code I found the closest to my problem http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=2&t=17112&p=46999&hilit=user+connect # p46999 or search with the words ...
I also found the code of one of your tutorial but nothing works
<?php $user =& JFactory::getUser();
?>
<input type= 'hidden' name='id' value='<?php echo $user->id; ?>' />
or
$user=JUser::getuser() ;
$username= $user->username ;
Thank you very much p
I look good on your forum but nothing works. Here I use version 3.1 of ChronoForms. Here is my problem:
I have a joomla site, and a form accessible to people connected. And I want without asking the name of the person, retrieve this information in the email sent me the form. I found a lot of code but I never understand where to put it in ChronoForms. Often noted to put at the beginning of html, so I open my form and that's what I do, but it does not work. Have you a solution, perhaps with a print screen because I speak English and it is not easy even with the translation button to find the answer to my problem. That is the code I found the closest to my problem http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=2&t=17112&p=46999&hilit=user+connect # p46999 or search with the words ...
I also found the code of one of your tutorial but nothing works
<?php $user =& JFactory::getUser();
?>
<input type= 'hidden' name='id' value='<?php echo $user->id; ?>' />
or
$user=JUser::getuser() ;
$username= $user->username ;
Thank you very much p