Template Variables

3 posts / 0 new
Last post
#1 Tue, 08/17/2010 - 11:59
AllanIT

Template Variables

Hi guys

Having a small problem, I have a file in a skel directory that has to be copped each time a virtual server is created. The file contains several template variables. All of the variables are converted correctly except ${MYSQL_USER}. I noticed in the Template Variable Examples that there could be two methods and I have tried both without success (ignore the quotes below)

when I use “${MYSQL_USER}” I get “${MYSQL_USER}”

when I use “$MYSQL_USER” I get “1_USER”

Thanks Allan

Tue, 08/17/2010 - 22:54
AllanIT

Hi guys

I have been running further testing and if I add the variable above to the email created at the end of the “Create Virtual Server” process then all template variables are replaced correctly, for their values. It looks like this is a matter of order. Is there another way to get the ${MYSQL_USER} at the skel point in the process?

Thanks Allan

Mon, 08/23/2010 - 04:04
AllanIT

Does anyone have an answer to this?

Topic locked