We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
I can't seem to get the Theme::setLayout($layout) to work
Theme::setLayout($layout)
Theme::setLayout always returns false, so I cant do @extend($theme_layout)
Theme::setLayout
@extend($theme_layout)
File structure: /laravel/public/themes/standard/views/layouts/default.blade.php
/laravel/public/themes/standard/views/layouts/default.blade.php
Inside Controller.php
Controller.php
public function __construct() { $theme = config('themes.active'); \Theme::setActive($theme); dd(\Theme::setLayout('layouts.default')); }
I've also tried extend('standard::layouts.default') and it throws
extend('standard::layouts.default')
ErrorException thrown with message "No hint path defined for [standard]. (View: /laravel/app/Modules/Dashboard/Resources/Views/dashboard.blade.php)"
The text was updated successfully, but these errors were encountered:
hi did you manage to get this working?
Sorry, something went wrong.
No branches or pull requests
I can't seem to get the
Theme::setLayout($layout)
to workTheme::setLayout
always returns false, so I cant do@extend($theme_layout)
File structure:
/laravel/public/themes/standard/views/layouts/default.blade.php
Inside
Controller.php
I've also tried
extend('standard::layouts.default')
and it throwsThe text was updated successfully, but these errors were encountered: