yii2-debug
yii2-debug copied to clipboard
yii2-debug toolbar
It would be nice if the debug toolbar also displayed info about current theme so developers know where to search for view files. It should be enough to update file yii2-debug\src\views\default\panels\router\summary.php with this snippet:
<div class="yii-debug-toolbar__block">
<a href="<?= $panel->getUrl() ?>" title="Action: <?= Html::encode($panel->data['action']) ?>">
Theme
<span class="yii-debug-toolbar__label">
<?php echo str_ireplace(yii\helpers\Url::base(), '', Yii::$app->getView()->theme->baseUrl ?? "No theme"); ?>
</span>
</a>
</div>
PS: Also a list of all rendered views would be nice. So developer knows which views were involved and where to find them..
Good ideas.