custom HTML-based mailback templates

  • Posts: 187
  • Thank you received: 1

ooc replied the topic: custom HTML-based mailback templates

Thank you again Mihaela
I will come back to your most recent reply but today I had to go back to absolute basics to try to understand how this is supposed to work. I have created a new form called testform that just has five elements - lname1, fname1, lname2, fname2 and email. I have created a testform_mailback.txt.php file copied from mailbacktpl.txt.php but removed the core form elements after formname. I put it into administrator/components/com_breezingforms/mailtpl and then tested it with 3 different options – Here are my findings
edit emails field resulting email
default full default email no elements missing
custom but nothing in the custom block - no email returned at all
custom – with short message - works properly
With no combination could I get the custom email template to be mailed to me. If my txt.php file is incorrect could you send me a corrected one or if it is misnamed - please just help me to get this very basic test working so I can understand what to expect and can simplify my testing. There must be something very basic that I am not doing correctly.

File Attachment:

File Name: testform.zip
File Size:12 KB

File Attachment:

File Name: testform_m....txt.zip
File Size:1 KB

I am working on Joomla 3.9.13 with BF 1.9.0. Build 931. I should also say that I get no error messages in the console or in Joomla itself.
#238561
Attachments:
  • Posts: 187
  • Thank you received: 1

ooc replied the topic: custom HTML-based mailback templates

I am at my wits end here. I now have just the one file in my mailtpl directory - testform_mailback.txt.php, as attached, and I have run it through phpcodechecker.com and it shows no errors. I think I have determined that my setting to get a custom php mailback is to set edit emails to default because I do at least get a mailback then. If I set to custom, with, of course nothing in the editor box, I get no mailback.
HOWEVER, for both admin email and the mailback that I do get, they are both the default format (see attached) rather than my abbreviated format. Where could they be getting these from? and why do they not pick up testform_mailback.txt.php for the mailback?
Please reply. I am out of ideas of what could be in error. I have cleared cache before each test; I have watched the console for any errors; I have read your posts carefully. I also attach a png of CoreFTP showing the state of the mailtpl folder. Is there anything else I can send you or make available to you to help me solve this?

File Attachment:

File Name: testform_m...2-03.zip
File Size:1 KB
#238661
Attachments:
Moderators: ForumSupporttomeperica
Time to create page: 0.292 seconds

New Icon Packs Category!

Crosstec is now offering icon packs.

If you are a paying subscriber, icon packs are automatically added to your account.

Check out our icon packs page!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Summer Sale!

50% discount on all of our extension subscription plans, templates and icon packs!

Get Your Subscription Here

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

Get 1 year access to all of our current and future products and 1 year of professional support -- 99 for just 49! (Summer Sale)

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here