that will get me the file that was originally called
via url or form.. but what I'm looking for is in
between what i can get from getbasetemplatepath() and
getcurrenttemplatepath()..
I want to know the path of the specific file that
cfmodule'd the tag I'm writing.  I tried throwing an
error and looking in
cfcatch.tagcontext[len-1].template, but I'm getting
weird results:

D:\INETPUB\DEVSERVER\ERRORTOOL\INDEX.CFM
D:\INETPUB\DEVSERVER\ERRORTOOL\INDEX.CFM
D:\INETPUB\DEVSERVER\ERRORTOOL\INDEX.CFM
D:\INETPUB\DEVSERVER\ERRORTOOL\INDEX.CFM
D:\INETPUB\DEVSERVER\ERRORTOOL\ERRORTRACKING\INDEX.CFM
D:\INETPUB\DEVSERVER\ERRORTOOL\ERRORTRACKING\INDEX.CFM
D:\INETPUB\DEVSERVER\ERRORTOOL\ERRORTRACKING\INDEX.CFM
D:\CFUSION\CUSTOMTAGS\CACHEQUERY.CFM
D:\CFUSION\CUSTOMTAGS\CACHEQUERY.CFM
D:\CFUSION\CUSTOMTAGS\CACHEQUERY.CFM

when my debug info clearly shows:

D:\CFUSION\CUSTOMTAGS\CACHEQUERY.CFM
D:\CFUSION\CUSTOMTAGS\FUSEBOX2_5\BODYCONTENT.CFM
D:\CFUSION\CUSTOMTAGS\FUSEBOX2_5\FORMURL2ATTRIBUTES.CFM
D:\INETPUB\DEVSERVER\ERRORTOOL\APPSETTINGS\ACT_GETAPPSETUP.CFM
D:\INETPUB\DEVSERVER\ERRORTOOL\APP_GLOBALS.CFM
D:\INETPUB\DEVSERVER\ERRORTOOL\APP_PATHVARS.CFM
D:\INETPUB\DEVSERVER\ERRORTOOL\APP_SECURITY.CFM
D:\INETPUB\DEVSERVER\ERRORTOOL\ERRORTRACKING\INDEX.CFM
D:\INETPUB\DEVSERVER\ERRORTOOL\ERRORTRACKING\QRY_GETERRORLOGS.CFM
D:\INETPUB\DEVSERVER\ERRORTOOL\INDEX.CFM

of course I'd need them in chronological order to make
my idea work.  The idea is to use a custom tag for
query caching and not have to specify the directory of
the query file if it is in the same directory you're
calling the custom tag from.  This would reduce the
call to 
<cf_cacheQuery outputName='allAppNames'>

--- David Perkins <[EMAIL PROTECTED]> wrote:
> Using  getdirectoryfrompath(getbasetemplatepath()) 
> should get the full
> directory of the calling template.
> 
> Regards
> David Perkins
> 
> 
> -----Original Message-----
> From: Ken Beard [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 23, 2000 8:51 PM
> To: Fusebox
> Subject: parent file
> 
> 
> Anyone know a way to tell what file (i need the
> path,
> actually) a custom tag was module'd from?
> 
> =====
> Ken Beard, Senior Developer
> Stampede Network
> Tampa, FL
> (813)622-7655 ext.246
> [EMAIL PROTECTED]
> 
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Structure your ColdFusion code with Fusebox. Get the
> official book at
> http://www.fusionauthority.com/bkinfo.cfm
> 
> Archives:
>
http://www.mail-archive.com/[email protected]/
> Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists


=====
Ken Beard, Senior Developer 
Stampede Network
Tampa, FL
(813)622-7655 ext.246
[EMAIL PROTECTED]

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to