How to confgigure base.blade.php in new theme extension

Help for integrating the Laravel package
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!
User avatar
AleksandarJovanovic
Posts: 52
Joined: 01 Jun 2022, 21:26

How to confgigure base.blade.php in new theme extension

Post by AleksandarJovanovic » 02 Oct 2024, 07:35

Php 8.2
Linux
Version 2024.07.

Hello everyone, I could use a little help.

I installed the theme extension according to the instructions, and everything is fine. However, the <base.blade.php> file located in resources/view/vendor/shop controls the settings for both the default theme and this new one. How can I create a new base.blade.php file that will be called and control things in the new theme I want to assign to a new vendor in the multishop?

Thanks in advance,
Alex

User avatar
aimeos
Administrator
Posts: 8262
Joined: 01 Jan 1970, 00:00

Re: How to confgigure base.blade.php in new theme extension

Post by aimeos » 02 Oct 2024, 07:58

Place the base.blade.php file for the new theme in ./resources/view/vendor/<custom extension name>/base.blade.php
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
AleksandarJovanovic
Posts: 52
Joined: 01 Jun 2022, 21:26

Re: How to confgigure base.blade.php in new theme extension

Post by AleksandarJovanovic » 02 Oct 2024, 13:40

Hm. I try that first but not working for me. I try to clear cache both for aimeos and laravel but nothing happen. :(

User avatar
AleksandarJovanovic
Posts: 52
Joined: 01 Jun 2022, 21:26

Re: How to confgigure base.blade.php in new theme extension

Post by AleksandarJovanovic » 03 Oct 2024, 08:01

The mistake was mine, thank you for your patience :)
I didn’t extend the new base.blade in the template. Maybe this will help someone else too.
Best regards.

Post Reply