Open ashaduri opened 2 years ago
I have resolved the same issue by pointing the layout to the expected layout file by updating the config/main.php
.
'modules' => [
'audit' => [
'class' => 'bedezign\yii2\audit\Audit',
'layout' => '../../../../../../backend/views/layouts/main', // it is now reference to /app/backend/views/layouts/main.php
],
],
I have resolved the same issue by pointing the layout to the expected layout file by updating the
config/main.php
.'modules' => [ 'audit' => [ 'class' => 'bedezign\yii2\audit\Audit', 'layout' => '../../../../../../backend/views/layouts/main', // it is now reference to /app/backend/views/layouts/main.php ], ],
Thanks for the tip! I tried:
'layout' => '@app/views/layouts/main',
and it worked for me.
I will still keep this issue open since the Audit module's own layout is broken with Bootstrap 4.
The Audit 1.1.2 module layout uses:
When bootstrap 4 is in use, the (compatible) breadcrumbs widget should come from:
Currently the breadcrumbs widget is broken because of this.
Thanks