Re: CFinclude issues

2012-03-04 Thread Larry Lyons
include a file that includes the file you're including. CF_Inception! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Re: CFinclude issues

2012-03-02 Thread Eileen Harberts
Thank you for your response. I did take the .. away: cfinclude template=/includes/sponsors.cfm and it still did not display the include. There are not any errors that pop up, it just does not display. Thank you, Eileen Are you sure you need the .. in front of the first slash? It could

Re: CFinclude issues

2012-03-02 Thread Eileen Harberts
By 'not work' I mean the include does not display. There is no error message, just a page not displaying the include. Thank you, Eileen What do you meanby it does not work, is there an error, the file is not included, what? Regards Russ Michaels From my mobile On 1 Mar 2012 21:16, Eileen

RE: CFinclude issues

2012-03-02 Thread Bill Franklin
: Monheim am Rhein | Eintragung: Amtsgericht Düsseldorf, HRB 46985 -Original Message- From: Eileen Harberts [mailto:eil...@tdai.net] Sent: Friday, March 02, 2012 9:08 AM To: cf-talk Subject: Re: CFinclude issues Thank you for your response. I did take the .. away: cfinclude

Re: CFinclude issues

2012-03-02 Thread Russ Michaels
: Amtsgericht Düsseldorf, HRB 46985 -Original Message- From: Eileen Harberts [mailto:eil...@tdai.net] Sent: Friday, March 02, 2012 9:08 AM To: cf-talk Subject: Re: CFinclude issues Thank you for your response. I did take the .. away: cfinclude template=/includes/sponsors.cfm

RE: CFinclude issues

2012-03-02 Thread Stephens, Larry V
[mailto:eil...@tdai.net] Sent: Friday, March 02, 2012 10:09 AM To: cf-talk Subject: Re: CFinclude issues By 'not work' I mean the include does not display. There is no error message, just a page not displaying the include. Thank you, Eileen What do you meanby it does not work, is there an error

Re: CFinclude issues

2012-03-02 Thread Cameron Childress
On Fri, Mar 2, 2012 at 1:26 PM, Stephens, Larry V steph...@iu.edu wrote: This is a stab in the dark - but it did catch me once. It's not a cfinclude on a cfincluded page, is it? I didn't bother to test it just now but I don't believe that will work. For the record, that *will* work.

Re: CFinclude issues

2012-03-02 Thread Dave Watts
This is a stab in the dark - but it did catch me once. It's not a cfinclude on a cfincluded page, is it? I didn't bother to test it just now but I don't believe that will work. This will work fine, actually, just like Cameron said, unless you include a file that includes the file you're

Re: CFinclude issues

2012-03-02 Thread Claude Schnéegans
unless you include a file that includes the file you're including. Even this will work, provided you have a test to stop the recursive loop. ~| Order the Adobe Coldfusion Anthology now!

RE: CFinclude issues

2012-03-02 Thread Jeff Langevin
=E9egans schneegans@interneti=71?=.outdoors.org] Sent: Friday, March 02, 2012 2:21 PM To: cf-talk Subject: Re: CFinclude issues unless you include a file that includes the file you're including. Even this will work, provided you have a test to stop the recursive loop

Re: CFinclude issues

2012-03-02 Thread Claude Schnéegans
Aren't they all also relative to the original including templates path though even though they're nested? I would say yes. Better do this in the same directory. Any way, I do not relly see a good occasion for using recursive includes, because they will all work on the same variable scope. I

Re: CFinclude issues

2012-03-02 Thread Brian Cain
Not to state the obvious, but you are trying to include it from a .cfm page right? You cannot use a cfinclude on a .htm page. On Fri, Mar 2, 2012 at 2:16 PM, wrote: Aren't they all also relative to the original including templates path though even though they're nested? I would say yes.

Re: CFinclude issues

2012-03-02 Thread Claude Schnéegans
You cannot use a cfinclude on a .htm page Well, actually you can, ... but it will include nothing ;-) ~| Order the Adobe Coldfusion Anthology now!

Re: CFinclude issues

2012-03-02 Thread Andrew Scott
Actually you can't being an html file, it will never be run by ColdFusion, and will only be seen as a standard html comment. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Sat, Mar 3, 2012 at 7:53 AM, wrote: You

Re: CFinclude issues

2012-03-02 Thread Brian Cain
Yes Andrew, that was the point I was making. On Fri, Mar 2, 2012 at 2:56 PM, Andrew Scott andr...@andyscott.id.auwrote: Actually you can't being an html file, it will never be run by ColdFusion, and will only be seen as a standard html comment. -- Regards, Andrew Scott WebSite:

RE: CFinclude issues

2012-03-02 Thread DURETTE, STEVEN J
, 2012 4:01 PM To: cf-talk Subject: Re: CFinclude issues Yes Andrew, that was the point I was making. On Fri, Mar 2, 2012 at 2:56 PM, Andrew Scott andr...@andyscott.id.auwrote: Actually you can't being an html file, it will never be run by ColdFusion, and will only be seen as a standard html

Re: CFinclude issues

2012-03-02 Thread Brian Thornton
Do a view source Depending on the server .html could be rendered at cfm On Fri, Mar 2, 2012 at 3:56 PM, Andrew Scott andr...@andyscott.id.au wrote: Actually you can't being an html file, it will never be run by ColdFusion, and will only be seen as a standard html comment. -- Regards,

Re: CFinclude issues

2012-03-02 Thread Andrew Scott
Well the point was lost, because saying you can, implies that it can be called or used by ColdFusion. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Sat, Mar 3, 2012 at 8:00 AM, Brian Cain bcc9...@gmail.com wrote: Yes

Re: CFinclude issues

2012-03-02 Thread Brian Cain
Andrew: You must have meant that for the other guy. My original reply said you cannot use cfinclude in a .htm file. I will add the addendum that being the case in a traditional server configuration. Brian Cain On Mar 2, 2012, at 4:06 PM, Andrew Scott andr...@andyscott.id.au wrote:

Re: CFinclude issues

2012-03-02 Thread Andrew Scott
Then it is not an html file then is it, if someone sets the server up to server files to ColdFusion server, I would not consider this an html file. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Sat, Mar 3, 2012 at 8:07

RE: CFinclude issues

2012-03-01 Thread Bill Franklin
Are you sure you need the .. in front of the first slash? It could be a relative path issue. What errors are you getting? Best regards, Bill Franklin -Original Message- From: Eileen Harberts [mailto:eil...@tdai.net] Sent: Thursday, March 01, 2012 3:16 PM To: cf-talk Subject:

Re: CFinclude issues

2012-03-01 Thread Russ Michaels
What do you meanby it does not work, is there an error, the file is not included, what? Regards Russ Michaels From my mobile On 1 Mar 2012 21:16, Eileen Harberts eil...@tdai.net wrote: I am trying to code a cfinclude on a template page: cfinclude template=../includes/sponsors.cfm to show