I think this would be done in a theme for best results but correct me if I am wrong.
I want to add the execution time to the footer of all the pages. Where would be a good place to insert my PHP code? I tried adding it to the main.php at the top of the page (To collect the start time but with no output) and at the bottom of the page just above the </body> tag but that made the javascripts not work on most of the pages.
Thank you for your help!
Posts: 27300
I believe there is two places your code might need. If you are using php code. One to start the code and one to finish and display the time.
I would add the start code in main.php and the finish and display in the bottom of page.tpl close to the </body>
or is this pure JS? then in the theme pages then.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 53
Code is in PHP. JS wouldn't be able to determine back end processing time to my understanding. I will give that a shot and let you know. Where is the page.tpl file? is that in the themes folder?
Posts: 27300
theme.tpl
in the template direcotry.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team