RomanArt wrote:I have 2 questions...
1)Why i cant see message sent by User via ur form in admin panel when i click Reply i see only this "Your menssage" instead of user message o_O ( i can see user message only before clicking "reply", i dont understand it )
2) Why do i get a mail in gmail from my own mail adress not from email of user who set a message via contact form?
(example user with mail: "monstra@gmail.com" sent me a message, but i got on my mail romanart@gmail.com the message from romanart@gmail.com instead of monstra@gmail.com, i cant even answer that message from my mail, i can only reply from admin panel on monstracms)
1 - Go to myContact.admin.php line 89 and add this
->assign('user_menssage', $user_menssage)
Now go to views/backend/reply.view.php and write for example in line 25,
'<p><small>User Question: </small><p>'.
'<div class="well">'.$user_menssage.'</div>'.
2 - If you need see user mail you need change the template.
You can use this vars: ( you can see in help button )
Name user <?php echo $user_name; ?>
Email user <?php echo $user_email; ?>
Subject user <?php echo $user_subject; ?>
Menssage user <?php echo $user_menssage; ?>
Your codes
Your name <?php echo $my_name; ?>
Your menssage <?php echo $my_menssage; ?>
Your email <?php echo $my_email; ?>
Other codes
Site name <?php echo $site_name; ?>
Site url <?php echo $site_url; ?>
..::: Moncho Varela ::::.. ..::: @Nakome ::::.. ..::: Github ::::..