Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

figuring out where a file is called from

Status
Not open for further replies.

noyes99

Programmer
Jun 25, 2002
38
IN
Hi, I need a bit of a help in trying to figure out something with Coldfusion. I have this file abc.cfm and this is like a footer to the page. how do I figure out the template that is calling this file.

thanks in advance for the help
 
Just do a search across all of your .cfm files under the root directory of the web site for files containing "abc.cfm".

-Tek
 
if all your pages use this footer, and what you're talking about is figuring out in the footer logic at run time which template has called it, use

#GetFileFromPath(GetBaseTemplatePath())#


rudy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top