[phorm] [Phorm:] Config variables in templates

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 17 Jun 2004 19:53:36 -0000

The following new message has been posted on Phorm Support Forum at 
<http://www.phorm.com/support/>. 

*************************************************************************** 

  MESSAGE:  (#4134) Config variables in templates 
            <http://www.phorm.com/support/?rev=4134> 
  AUTHOR:   /\dam 
  DATE:     June 17, 2004 at 3:53 p.m. EST 

Hi, I'm a registered Phorm user and am having problems getting a variable from 
my config file to appear in any of my acknowledgement or autoresponder 
templates. 

I thought all I have to do is, in my config file, add: 

$my_test_var = "My text here"; 

and in my ack or email template add: 

{{my_test_var}} 

I've tried this both with brand new vars and vars that exist on the form as 
hidden fields and the variable is always blank when it gets output. 

register_globals is set to off, but I don't think that has bothered Phorm for 
years, has it? 

Thanks, 

/\dam 

*************************************************************************** 

This is an automatically-generated notice.  If you'd like to be removed from 
the mailing list, please visit Phorm Support Forum at 
<http://www.phorm.com/support/>, or send your request to webbbs@xxxxxxxxxx  If 
you wish to respond to this message, please post your response directly to the 
board.  Thank you! 
-------------------------------------------------
You are receiving this message because you are subscribed to the Phorm mailing 
list. To send messages to the mailing list, simply send email to 
phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe 
from the list by sending email to phorm-request@xxxxxxxxxxxxx with 
'unsubscribe' in the SUBJECT field.

Other related posts:

  • » [phorm] [Phorm:] Config variables in templates