smarty Debugging Console
how to view Debugging Console not in popup window? prefer in same w开发者_运维问答indow. any idea?
Change debug template file debug.tpl
. Just replace following code with something more suitable for your needs:
# _smarty_console.document.write('{$debug_output|escape:'javascript'}');
## write debug window directly in current document
document.write('{$debug_output|escape:'javascript'}');`
You can use Firebug and FirePHP to redirect the debug information to the Firebig console: http://www.firephp.org/Wiki/Libraries/Smarty
精彩评论