TOPIC:

form specific mailback template does not work 3 weeks 5 days ago #250276

  • Topic Author
  • ooc
  • Offline
  • Expert Breezer
  • Expert Breezer
  • Posts: 243
  • Thanks: 1
I would like to create a form specific mailback template as described in
crosstec.org/en/support/online-documenta...-templates-work.html
But it does not work. My form specific template is a shorted version of the default template
<?php
defined('_JEXEC') or die('Direct Access to this location is not allowed.');
?>
 
<?php if ($RECORD_ID != ''): ?>
<?php echo $PROCESS_RECORDSAVEDID?> <?php echo $RECORD_ID ?><?php echo $NL ?>
<?php endif; ?>
 
<?php echo $PROCESS_FORMID?>: <?php echo $FORM ?><?php echo $NL ?>
<?php echo $PROCESS_FORMTITLE ?>: <?php echo $TITLE ?><?php echo $NL ?>

<?php foreach ($MAILDATA as $DATA): ?>
<?php echo $DATA[_FF_DATA_TITLE]?>: <?php echo $DATA[_FF_DATA_VALUE]?><?php echo $NL ?>
<?php endforeach; ?>
/ com_breezingforms/mailtpl folder has the original 2 php files renamed and my testform1_mailback.html.php as seen above - Here is my directory :
You do not have permissions to access this page.

Before testing I clear cache both browser and Joomla yet I get as my mailback email the following:
You do not have permissions to access this page.


I do not know where the form is finding this default php file or why my form specific php file which is the default file with 6 lines removed is not used.

Here is the simple form
You do not have permissions to access this page.

Please Log in or Create an account to join the conversation.

form specific mailback template does not work 3 weeks 5 days ago #250277

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 2267
  • Karma: 3
  • Thanks: 210
Hi,

because for newer versions of the BF, email template is in /media/breezingforms/mailtpl.
This is the reason why your form uses the default template.
Please go to /media/breezingforms/mailtpl, and do this changes here.

Hope this helps

Regards,
Tihana

Please Log in or Create an account to join the conversation.

form specific mailback template does not work 3 weeks 5 days ago #250278

  • Topic Author
  • ooc
  • Offline
  • Expert Breezer
  • Expert Breezer
  • Posts: 243
  • Thanks: 1
Thank you Tihana
I have spent hours looking for this and asking - back in Dec. 2019 and again Feb. 2020 on 2 previous posts and did not get answers. Thank you for this quick reply. I can now get on with something I had all but given up on.

Please Log in or Create an account to join the conversation.

form specific mailback template does not work 3 weeks 5 days ago #250279

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 2267
  • Karma: 3
  • Thanks: 210
Hi,

I’m glad you solved this problem

Regards,
Tihana

Please Log in or Create an account to join the conversation.

Last edit: Post by tihana.krivic.

form specific mailback template does not work 3 weeks 5 days ago #250282

  • Topic Author
  • ooc
  • Offline
  • Expert Breezer
  • Expert Breezer
  • Posts: 243
  • Thanks: 1
Indeed, it wasn't you who pointed me to the incorrect documentation. Is there anyway you, Crosstec, can correct the documentation file that is incorrect but had me thinking that if this is what the documentation says, then I must be doing something very wrong! I try very hard to not call on you folk if there is documentation that covers my question but if I can't trust it.... This comment is not meant for you but please pass it on to whomever it should go to.

Please Log in or Create an account to join the conversation.

form specific mailback template does not work 3 weeks 5 days ago #250283

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 2267
  • Karma: 3
  • Thanks: 210
Hi,

okay, this can be corrected in the documentation.

But if you look a little better in the documentation it says:
"Since Build 756 and higher, Email templates are stored in the /media/breezingforms/mailtpl/ folder."

But we will correct this to make it clearer :D

Regards,
Tihana

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.054 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

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!