Newbie ? about variables
I am completely ignorant concerning CF, for that matter I am generally ignorant as well. I own a website written in CF that I need to change. I am changing the URL to the site and need to update links within the site to reflect the changes. Most of the links contain a variable which would make the job easy but…. I do not know where the variable is set. I have pasted a sample page of code below:
<cfinclude template="urlhelp.cfm">
<cflock scope="application" type="exclusive" timeout="30"><cfset variables.homepage = homepage></cflock>
<cfparam name="title_tag" default="Lifestyles Direct Tan Through Suits">
<cfparam name="meta_description" default="Lifestyles Direct Tan Through swimwear allows you to achieve the perfect all over tan. Our fashionable line of women’s swimwear and men’s swimwear is guaranteed to be tan through, but not see through wet or dry!">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="description" content="<cfoutput>#meta_description#</cfoutput>">
<title><cfoutput>#title_tag#</cfoutput></title>
</head>
<link href="<cfoutput>#homepage#</cfoutput>/solartan.css" rel="stylesheet" type="text/css">
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0" background="<cfoutput>#homepage#</cfoutput>/images/beach_bkg.jpg">
I see in line 2 the reference to variables.homepage = homepage but do not understand how that sets anything. I also see where the variable is called in the last line I posted as: background="<cfoutput>#homepage#</cfoutput>/images/beach_bkg.jpg"
If you need more information I will do my best to provide it. Thanks in advance for any help!
