try this (without the #s): <CFSET templateVar = "skins/" & APPLICATION.siteSkinVar & "/index.cfm">
-- Exciteworks, Inc Expert Hosting for less! *Ask for a free 30 day trial!* http://exciteworks.com Plans starting at -$12.95- including MS SQL Server! Jake wrote: >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=37 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182458 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

