You can make the template attribute dynamic, output what it should be to check it's as you think it is.
<cfset templateVar = "skins/" & #APPLICATION.siteSkinVar# & "/index.cfm"> <cfoutput>#templateVar#</cfoutput> <cfinclude template="#templateVar#"> Ade -----Original Message----- From: Jake [mailto:[EMAIL PROTECTED] Sent: 24 October 2004 22:38 To: CF-Talk Subject: Trouble with CFINCLUDE All, Need some help! Is it not possible to include a #variableName# in a CFINCLUDE tag? I keep getting this error: Error parsing the Tag Library Descriptor file:/C:/Inetpub/www.countersinkdg.com/demo-new2/skins/default/index.cfm/.. The error occurred in C:\Inetpub\www.countersinkdg.com\demo-new2\index.cfm: line 5 3 : <CFSET templateVar = "skins/" & #APPLICATION.siteSkinVar# & "/index.cfm"> 4 : 5 : <CFINCLUDE template="#templateVar#"> But if I change <CFINCLUDE template="#templateVar#"> to <CFINCLUDE template="skins/default/index.cfm"> then the pages works just fine. (Of course the skins functionality doesn't work) Is there a way to dynamically set the path in a CFINCLUDE? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.houseoffusion.com/banners/view.cfm?bannerid=11 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182459 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

