Tally List : mailing list management, archiving, and analysis
click for archive home
 
Archive of:
Fusebox
Cold Fusion Fuse Box List
 
home
24 hour view
quick stats
weekly updates
 
all tallylists
corporate solutions
archive your favorite
help / feedback


Search the Tallylist search by keyword:

About CF Fusebox Methods :
product's home
product's list home
 
  Archived TallyList / Fusebox: 
Subject: Re: Template Trace Tag
lee borkman (48p/+0r)     Posted: Friday 20 Apr 2001
This post: 48 views, +0 rating

Hi Daniel,

You can use the CF_Debugger tag that Alan McC and I wrote. It's available at http://bjork.net/taggallery

Otherwise, use Hal's method. Just drop this is at the top of every template: <CFOUTPUT><!-- #GetCurrentTemplatePath()# --> </CFOUTPUT>

That puts an HTML comment in the HTML source, showing the full path of every template that gets called, in order, and in position (relative to the produced HTML).

YOu can use CF-STudio to drop this code into the top of every template in a directory tree, using Extended Replace, with RegExps:

Replace this: (.*)

With this: <CFOUTPUT><!-- #GetCurrentTemplatePath()# --> </CFOUTPUT> \1

Best of luck, Lee Bjork Borkman ps, if you think FuseBox goes through a lot of tags, just try CFObjects ;-)

--------------

>From: "Daniel J O'Keefe" <dan@tripointtek.com>

>With all of the includes as part of the Fusebox methodology, does anyone >know of some type of trace tag to output a list of templates that were >executed, and IN THE ORDER that they were executed? I just spent some time >looking through the gallery but all I found were tags that used the >CGI.PATH_INFO which does not help you with includes. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/fusebox@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists


Similar Subject Line Posts (+/- two weeks of this post)
RE: Template Trace Tag  20 Apr 2001   (35 v/ +0 r)
RE: Template Trace Tag  20 Apr 2001   (48 v/ +0 r)
RE: Template Trace Tag  20 Apr 2001   (34 v/ +0 r)
Re: Template Trace Tag  20 Apr 2001   (29 v/ +0 r)
Re: Template Trace Tag  20 Apr 2001 (this post)   (48 v/ +0 r)
Template Trace Tag  20 Apr 2001   (38 v/ +0 r)
 

Send a reply to the Fusebox list!
click to send a reply! NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!)

Feedback: If this post was exceptionally helpful, please help by giving this post a positive review.

 

TallyList : copyright Ububik - 2000