Search found 85 matches
- 13 May 2022, 06:59
- Forum: Laravel package
- Topic: Themes and @include in blade template
- Replies: 3
- Views: 783
Re: Themes and @include in blade template
Do you have somewhere converted all Aimeos template (ai-client-html\client\html\templates) to Laravel Blade ?
- 12 May 2022, 21:03
- Forum: Laravel package
- Topic: Several theme loading views problem
- Replies: 36
- Views: 5863
Re: Several theme loading views problem
For eaxmple in packages\new-theme\views\catalog\detail.blade.php is @section('aimeos_body') <div class="container-xl"> <?= $aibody['catalog/detail'] ?? '' ?> </div> @stop $aibody['catalog/detail'] contains data from packages\new-theme-sk\client\html\templates\catalog\detail\body-standard.b...
- 12 May 2022, 20:31
- Forum: Laravel package
- Topic: Several theme loading views problem
- Replies: 36
- Views: 5863
Re: Several theme loading views problem
My packages/new-theme/views/base.blade.php <!DOCTYPE html> <html> <head> </head> <body> <div class="container main-container"> @yield('aimeos_body') </div> </body> </html> In @yield('aimeos_body') data is loaded from new-theme-sk/client/html/templates instead of new-theme/client/html/templ...
- 12 May 2022, 17:56
- Forum: Laravel package
- Topic: Several theme loading views problem
- Replies: 36
- Views: 5863
Re: Several theme loading views problem
My config/shop.php <?php return [ 'apc_enabled' => false, // enable for maximum performance if APCu is availalbe 'apc_prefix' => 'laravel:', // prefix for caching config and translation in APCu 'pcntl_max' => 4, // maximum number of parallel command line processes when starting jobs 'routes' => [ 'j...
- 12 May 2022, 16:52
- Forum: Laravel package
- Topic: Several theme loading views problem
- Replies: 36
- Views: 5863
Re: Several theme loading views problem
@cyberdev you try install aimeos/aimeos-laravel version 2021.07.6 and use several themes
- 12 May 2022, 16:32
- Forum: Laravel package
- Topic: Several theme loading views problem
- Replies: 36
- Views: 5863
Re: Several theme loading views problem
I analyzed the topic and I can see that Aimeos always takes the last theme it found and if there is an expected file in client/html/templates , it takes it, no matter what theme is selected in the shop. In the case of the sk shop it works fine because new-theme-sk is the last theme and takes files f...
- 12 May 2022, 15:47
- Forum: Laravel package
- Topic: Several theme loading views problem
- Replies: 36
- Views: 5863
Re: Several theme loading views problem
I use aimeos/aimeos-laravel version 2021.07.6
- 12 May 2022, 15:17
- Forum: Laravel package
- Topic: Several theme loading views problem
- Replies: 36
- Views: 5863
Re: Several theme loading views problem
It seems it always takes these middle components from this new-theme-sk. So when I change to new-theme-sk it is fine, but when I come back to new-theme, the middle components is taken from new-theme-sk
- 12 May 2022, 15:04
- Forum: Laravel package
- Topic: Several theme loading views problem
- Replies: 36
- Views: 5863
Re: Several theme loading views problem
In packages\new-theme\views\catalog\detail.blade.php I use @extends('new-theme::base')
- 12 May 2022, 14:57
- Forum: Laravel package
- Topic: Several theme loading views problem
- Replies: 36
- Views: 5863