How to overvrwrite base.blade.php and blade template in view folder by extension.
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
- AleksandarJovanovic
- Posts: 26
- Joined: 01 Jun 2022, 21:26
How to overvrwrite base.blade.php and blade template in view folder by extension.
Aimeos version 2023.10
Php: 8.1
Linux
Dear,
I create own extansion to change some files in project. But i want to use default theme and edit some file from extension not new theme. I create view folder in my extension and copy file from but cant see changes on frontend. I know to must create theme from extension builder and that works, but can i edit from extenson to avoid new theme?
Best regards
Php: 8.1
Linux
Dear,
I create own extansion to change some files in project. But i want to use default theme and edit some file from extension not new theme. I create view folder in my extension and copy file from but cant see changes on frontend. I know to must create theme from extension builder and that works, but can i edit from extenson to avoid new theme?
Best regards
Re: How to overvrwrite base.blade.php and blade template in view folder by extension.
You don't have to create a new theme to overwrite the base.blade.php. Just copy the file from the ./vendor/aimeos/aimeos-laravel/views/base.blade.php to the ./resources/views/vendor/shop/ directory of your Laravel application:
https://aimeos.org/docs/latest/laravel/ ... -templates
https://aimeos.org/docs/latest/laravel/ ... -templates
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star