Hey there! So I'm doing a non-article creating content type in F2C Pro. I've created a form for people to request a room reservation for meetings to take place (contact details, room requested, time/date, etc.). This form's template is utilizing the {php}{/php} Smarty feature to take all the entered form data and simply create an email to be sent to the person in charge of the Meeting Rooms' Calendar so they can review and approve the request.
Here's the issue. In my {php} Smarty block at the very end I'm using the PHP mail() function to send my constructed e-mail message. This code seems to be called twice as I'm getting two emails exactly the same sent to the receiving party's address. The only thing I can think is that the F2C main.tpl is getting called/processed twice somehow on Save. Can I prevent this from happening in someway? Thanks as always!
Form2Content Forum
Questions and answers for Form2Content, a Joomla CCK.
- Travis S.
- F2C article templating
- Thursday, 13 October 2016
- Subscribe via email
- Page :
- 1
There are no replies made for this post yet.
However, you are not allowed to reply to this post.
However, you are not allowed to reply to this post.