TOPIC:

PHP in template 9 years 2 months ago #78739

  • Topic Author
  • stonypointcenter
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 14
  • Thanks: 0
I'm trying to embed some php in my mailback template.

I only want the word " to " to be included if the {ArrivalNeeded:value} is true (or checked).

Here's what it looks like so far:
Dear {FullName:value},

Thank you for using our online form to request transportation <?php
if ({ArrivalNeeded:value}) echo " to "; ?> Stony Point Center

When I try to send the email (fill out and submit the form), it looks great,
except that the php renders as text, instead of executing.

What am I doing wrong?

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

Aw: PHP in template 8 years 10 months ago #85071

  • stausen
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 19
  • Thanks: 1
hi,

did you get an solution?
I got the same problem with including php.

regards stausen

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

Re: Aw: PHP in template 8 years 8 months ago #89065

  • Topic Author
  • stonypointcenter
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 14
  • Thanks: 0
Sorry, I'm just seeing this post now.
Perhaps you've already figured out that if you want to include php,
you need to create a new template.
It's a good deal more effort than using the built-in one,
but it gives you a lot of flexibility.

- Turtle

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

  • Page:
  • 1
Time to create page: 0.043 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!