Welcome to WebmasterWorld Guest from 54.204.162.36

Forum Moderators: coopster & jatar k

Outputting associated files and array names

   
10:00 pm on May 7, 2010 (gmt 0)

10+ Year Member



Is there any way to output all the tpl files, js files, css files, etc. associated with specific pages on my site?

I use an ecommerce platform and it takes a lot of digging around to find which files to edit in order to make certain changes on my site. I'd like to see an output of all associated files for a given page so I dont have to dig so much.

Also, is there a way to output which arrays are being used on each page? I can output the contents of an array when I know the array name, but a lot of times I dont know the array names being used.

I know this is probably not possible but I wanted to ask anyway. Just thought by chance maybe there might be a tool out there I can download which does this.
8:52 pm on May 19, 2010 (gmt 0)

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



As far as the css and js files, use something like the Firebug extension in Firefox. Watch the Net tab as the page loads and you can see every HTTP server resource requested on any given page.

From the server side of things, maybe debug_backtrace() [php.net]?
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month