开发者

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

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜