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?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF 
community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=35

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182457
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

Reply via email to