开发者

smarty Debugging Console

开发者 https://www.devze.com 2022-12-18 04:56 出处:网络
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 you

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

0

精彩评论

暂无评论...
验证码 换一张
取 消