RE: cffile write question, sending but not parsing cf code

2004-09-15 Thread mayo
Andrew,

Thx but I'm still not getting what I'm looking for.

I need to include an unparsed variable in CFFILE.
I would like to do something like


 action=''
 file='someFile'
 output='






 Some Title
 


...



'>

Thanks,

Gil



  -Original Message-
  From: Andrew Dixon [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, September 15, 2004 2:30 AM
  To: CF-Talk
  Subject: Re: cffile write question, sending but not parsing cf code

  Not sure I have understood this right, but I assume the file you are
  trying create a CF Script, but remove the database call. In that case,
  you can put all your bits of script into a variable and than right
  that variable. The script will not be processed by CFFILE, for
  example:

  
  
  

  This will create the CF script and when called the CF parts will be
processed.

  Andrew.

  - Original Message -
  From: mayo <[EMAIL PROTECTED]>
  Date: Wed, 15 Sep 2004 00:08:03 -0400
  Subject: cffile write question, sending but not parsing cf code
  To: CF-Talk <[EMAIL PROTECTED]>

  I'm using cffile to allow a magazine site to publish articles and not have
a
  db call everytime an article is selected. Is there anyway (aside from
  includes) that I can use send up cf code such as CGI.path_info without it
  being parsed when the cffile is being written?

  Example:

  For example /admin/createFile.cfm creates a file called
  /stories/2004-1234.cfm

  I would like CGI.path_info to display

  /stories/2004-1234.cfm not /admin/createFile.cfm

  I also would like to be able to have

   etc... processed when the article is requested by the user and not
  when the CFFILE is executed.

  thx, hope this is understandable

  Gil
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: cffile write question, sending but not parsing cf code

2004-09-15 Thread Andrew Dixon
Not sure I have understood this right, but I assume the file you are
trying create a CF Script, but remove the database call. In that case,
you can put all your bits of script into a variable and than right
that variable. The script will not be processed by CFFILE, for
example:





This will create the CF script and when called the CF parts will be processed.

Andrew.

- Original Message -
From: mayo <[EMAIL PROTECTED]>
Date: Wed, 15 Sep 2004 00:08:03 -0400
Subject: cffile write question, sending but not parsing cf code
To: CF-Talk <[EMAIL PROTECTED]>

I'm using cffile to allow a magazine site to publish articles and not have a
 db call everytime an article is selected. Is there anyway (aside from
 includes) that I can use send up cf code such as CGI.path_info without it
 being parsed when the cffile is being written?

 Example:

 For example /admin/createFile.cfm creates a file called
 /stories/2004-1234.cfm

 I would like CGI.path_info to display

 /stories/2004-1234.cfm not /admin/createFile.cfm

 I also would like to be able to have

  etc... processed when the article is requested by the user and not
 when the CFFILE is executed.

 thx, hope this is understandable

 Gil
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




cffile write question, sending but not parsing cf code

2004-09-14 Thread mayo
I'm using cffile to allow a magazine site to publish articles and not have a
db call everytime an article is selected. Is there anyway (aside from
includes) that I can use send up cf code such as CGI.path_info without it
being parsed when the cffile is being written?

Example:

For example /admin/createFile.cfm creates a file called
/stories/2004-1234.cfm

I would like CGI.path_info to display

/stories/2004-1234.cfm not /admin/createFile.cfm

I also would like to be able to have

 etc... processed when the article is requested by the user and not
when the CFFILE is executed.

thx, hope this is understandable

Gil
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]