How do I use CFContent on a ColdFusion 5 Server?
The following article explains how to use CFContent on our Coldfusion 5 servers. CFContent runs normally on CFMX servers without any workaround. You will need to use the code sample below only if you are running on a CF 5.0 server.
A normal cfcontent tag that looks like this:
<cfcontent file="FILENAME" type="TYPE"> <!--- Where File is optional --->
Would be replaced with this:
<cfset file = "FILENAME"> <!--- This is an optional variable --->
<cfset type="ApplicationType"> <!---This is required --->
<cfinclude template="\cfcontent\cfcontent.cfm">