RE: easy path question

2003-02-21 Thread Barney Boisvert
That's a nasty problem, because the Application.cfm file might not be in the same directory as the base template, because CF looks up the directory tree until it finds one. I think you'll want to start with cgi.script_name and getBaseTemplatePath() in your base template. The compute the part of

RE: easy path question

2003-02-21 Thread Smith, Matthew P -CONT(DYN)
, February 21, 2003 1:35 PM To: CF-Talk Subject: RE: easy path question Have you looked at mappings in the administrator? Here's what I do ... Setting a mapping in the administrator Then set this in the Application.cfm request.cfmapping=/mymapping/ Then in my code: cfinclude template

RE: easy path question

2003-02-21 Thread Smith, Matthew P -CONT(DYN)
(NETPDTC) (850)452-1001 ext. 1245 [EMAIL PROTECTED] -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003 1:45 PM To: CF-Talk Subject: RE: easy path question That's a nasty problem, because the Application.cfm file might not be in the same

RE: easy path question

2003-02-21 Thread James Ang
however you like. :) James Ang Programmer/Product Engineer MedSeek, Inc. [EMAIL PROTECTED] -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003 11:45 AM To: CF-Talk Subject: RE: easy path question That's a nasty

RE: easy path question

2003-02-21 Thread Smith, Matthew P -CONT(DYN)
: Friday, February 21, 2003 2:09 PM To: CF-Talk Subject: RE: easy path question Fun question. I have been mulching on this for a while now, and here is my *current* solution: In Application.cfm: cfscript sttCFG = StructNew(); sttCFG.strAppPhysDir = GetDirectoryFromPath(GetCurrentTemplatePath

RE: easy path question

2003-02-21 Thread Owens, Howard
) [SMTP:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 11:57 AM To: CF-Talk Subject: RE: easy path question Unfortunately, I'm helping out with a site that another developer at a remote site wrote. We are bouncing files back and forth. I have some stuff dependent on paths

Re: easy path question

2003-02-21 Thread Ewok
something like this? GetDirectoryFromPath(GetCurrentTemplatePath()) but it will return the path of the current template only you can use it in something like the app_globals.cfm to set the path dynamically i code from home...it goes to a demo server...then it hits a production server so i just