Can someone try this for me please?
Application.cfm:
Page.cfm
I can't get the cfcase "value" to populate with the variable "GlobalSwitch".
Any ideas why this won't work?
----------------------------------------
Always Learning...
Application.cfm:
Code:
<cfset GlobalSwitch="Home,Resort,Location,Contact">
Page.cfm
Code:
<cfswitch expression="#PageTitle#">
<cfcase value="GlobalSwitch">
<cfoutput>
<title>#metaTitle["#PageTitle#"]#</title>
<meta name="Description" content="#metaDescription["#PageTitle#"]#" />
<meta name="Keywords" content="#metaKeywords["#PageTitle#"]#" />
</cfoutput>
</cfcase>
</cfswitch>
I can't get the cfcase "value" to populate with the variable "GlobalSwitch".
Any ideas why this won't work?
----------------------------------------
Always Learning...