Ok, This just gives me a blank page with nothing.
<cffunction name="onRequest" output="false">
<cfargument name="targetPage" type="String" required="true">
<!--- CHANGE EACH SEMESTER --->
<cfset CurrentSemester = "2006SP">
<cfset CurrentDSN = "eval-2006SP">
<cfset PreviousSemester = "2005FA">
<cfset PreviousDSN = "eval-2005FA">
<cfinclude template="#ARGUMENTS.targetPage#">
<cfreturn true>
</cffunction>
I can get further with onRequestStart():
<cffunction name="onRequestStart" output="false">
<cfargument name="requestname" required="true">
<!--- CHANGE EACH SEMESTER --->
<cfset CurrentSemester = "2006SP">
<cfset CurrentDSN = "eval-2006SP">
<cfset PreviousSemester = "2005FA">
<cfset PreviousDSN = "eval-2005FA">
<cfreturn true>
</cffunction>
But I end up with:
Variable CURRENTSEMESTER is undefined.
How th'heck do I make currentsemester and the others available to all
templates?
GRRRrrrr...
Will
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240510
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54