|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Squee-D Smarty n00b
Joined: 24 Jun 2003 Posts: 4 Location: Waipu, New Zealand
|
Posted: Tue Jun 24, 2003 7:17 am Post subject: Logging space in debugger |
|
|
I love the smarty debugger (so long as im not using register_object, in which case my circular references slow things RIGHT down). I love it so much, i'd very much like to spit out my own debugging information to it.
My suggestion is a simple smarty method such as
$template->debug("I got to here");
etc...
so that instead of nasty echo's and print_r's on my pages, which can look very nasty and even be difficult to read when using a bacground image, all of my debug output would appear at the top of the smarty debug output window..
Yours,
Rasheed Abdal-Aziz |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
Posted: Wed Jun 25, 2003 5:14 am Post subject: |
|
|
This really does sound like a pretty nifty idea. I'm not sure how it would be done or even if it is the right thing to do, but it sounds like something I'd like. I suppose the other thing to do is simply create a customized debug/error template that you use to render messages I shouldn't say the "other" thing to do, but it is what I do.
xo boots |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|