Latest CFMX 6.1. Yeah, it's outputting the right URL.

The odd thing is that this only does it on SOME computers. And if computer has a problem, it doesn't work in any browser, but if it you don't get the problem on your computer, you don't get it in any browser.

Ugh.

Daniel Elmore wrote:

Your code should work. Did you output the #templateVar# just to make sure
it's exactly what you want, if think even a space at the beginning of the
path will break cfinclude.

What version of CF are you running?

I heard of problems in the first releases of CFMX where you could not use a
variable in the cfinclude template attribute if the page calling it was
already nested inside another cfinclude call.

- Daniel Elmore

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Jake
Sent: Sunday, October 24, 2004 5:05 PM
To: [EMAIL PROTECTED]
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?

----------------------------------------------------------
To post, send email to [EMAIL PROTECTED]
To unsubscribe: http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe: http://www.dfwcfug.org/form_MemberRegistration.cfm




----------------------------------------------------------
To post, send email to [EMAIL PROTECTED]
To unsubscribe: http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe: http://www.dfwcfug.org/form_MemberRegistration.cfm







----------------------------------------------------------
To post, send email to [EMAIL PROTECTED]
To unsubscribe: http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe: http://www.dfwcfug.org/form_MemberRegistration.cfm





Reply via email to