Lonely Programmer Lonely Programmer - 4 months ago 41
PHP Question

How can I disable yii-debug-toolbar on a specific view?

How can I disable

yii-debug-toolbar
on a specific view especially on partial rendered views?

Is this possible?

p.s.
Yii-debug-toolbar
does unfortunately not exist as a tag below.

Answer

If you don't wan to show the log, you can hide the yii-debug console using jQuery

   $('#ydtb-toolbar').hide();

Call this snippet on your views.

Comments