Hi,
Sorry for the delay in my reply, it's quite strange, I am sure I select the 'Notify me when a reply is posted' but I didn't! :shock:
Some of you got the point but I might have not been clear enough about what I want to achieve.
We are using ContactForm Pro to provide contact form in all submitted items, the plugin tag looks like this:
Code:
{contactformpro mailto="user@email.com" subject="Message from MauriResto.com" title="Contact Author" label="Send Email to Author" error_message="Message not sent." success_message="Your message has been successfully sent to the author." display="popup" style="icones" /}
Therefore, I placed:
Code:
{contactformpro mailto="
in the prefix text and
Code:
" subject="Message from MauriResto.com" title="Contact Author" label="Send Email to Author" error_message="Message not sent." success_message="Your message has been successfully sent to the author." display="popup" style="icones" /}
in the suffix text.
Now, each time a 'registered' user, I say registered user because only registered user have the permission to add new item(s) on our website. Therefore, when a registered user submit a new item, he always needs to enter his email address in the email field that we have created to generate the contact form in frontend so that this contact form is connected to the registered user email address.
Now, micker says something about RSForm, this is basically what we want to do, in RSForm, they use a code like this:
Code:
//<code>
$formuser=JFactory::getUser();
return $formuser->email;
//</code>
To automatically pre-fill registered user email address, so this is basically what we want to do, micker mention to make a mix between flexicontent and rsform, we are already using rsform on our website but is there not a simpler way to make this working in FC?