Template Files And app.blade.php
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!
Template Files And app.blade.php
Hi,
1.
I want to develop a theme for laravel aimeos.
Usually sections are loaded and rendered from themplates files in home page. Except for the two areas marked in the picture. Is it possible to load all sections from theme files by aimeos default?
this will reduce our intervention in the core installation.
2.
How can I owerwrite this setting in the my extension. My extension is creted via https://aimeos.org/extensions/ and it is in the ext folder.
'client' => [
'html' => [
'common' => [
'baseurl' => 'packages/tulparstudyo/shop/themes/frigian' ,
'template' => [
'baseurl' => public_path( 'packages/tulparstudyo/shop/themes/frigian' ),
],
],
],
],
1.
I want to develop a theme for laravel aimeos.
Usually sections are loaded and rendered from themplates files in home page. Except for the two areas marked in the picture. Is it possible to load all sections from theme files by aimeos default?
this will reduce our intervention in the core installation.
2.
How can I owerwrite this setting in the my extension. My extension is creted via https://aimeos.org/extensions/ and it is in the ext folder.
'client' => [
'html' => [
'common' => [
'baseurl' => 'packages/tulparstudyo/shop/themes/frigian' ,
'template' => [
'baseurl' => public_path( 'packages/tulparstudyo/shop/themes/frigian' ),
],
],
],
],
- Attachments
-
- image-001.png (89.64 KiB) Viewed 1140 times
Re: Template Files And app.blade.php
Yes, that's the case. The header and footer are from the Laravel application and Aimeos extensions doesn't have access to it but you can offer an alternative app.blade.php file that must be copied to the ./resource/views/ directory of the Laravel application.tulparstudyo wrote: ↑03 Nov 2020, 14:21 I want to develop a theme for laravel aimeos.
Usually sections are loaded and rendered from themplates files in home page. Except for the two areas marked in the picture. Is it possible to load all sections from theme files by aimeos default?
this will reduce our intervention in the core installation.
These settings are part of the ./config/shop.php file and I think Laravel doesn't offer a way to overwrite them in your own extension so you have to document it somewhere for the users.tulparstudyo wrote: ↑03 Nov 2020, 14:21 How can I owerwrite this setting in the my extension. My extension is creted via https://aimeos.org/extensions/ and it is in the ext folder.
'client' => [
'html' => [
'common' => [
'baseurl' => 'packages/tulparstudyo/shop/themes/frigian' ,
'template' => [
'baseurl' => public_path( 'packages/tulparstudyo/shop/themes/frigian' ),
],
],
],
],
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
