Differents layouts for sites
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!
Differents layouts for sites
I have several sites in Aimeos. How to do different layout for each other.
Re: Differents layouts for sites
@Aimeos Can you answer this question ? This subject is important for me
Re: Differents layouts for sites
use Laravel theme Extension for different site code..
Re: Differents layouts for sites
Theme allows add only css and js but I want change my html structure for different sites. I use /ext/my-theme folder.
I don't know how use several extension theme for different sites and configure it.
I don't know how use several extension theme for different sites and configure it.
Re: Differents layouts for sites
Generally aimeos mad it much easier copy the require template from ai-client-html to laravel theme ext/template, thats will overide all templates, even you can be have own config options as well service provider.
Re: Differents layouts for sites
I create extension on https://aimeos.org/extensions (Aimeos Laravel 2021)
I copy extension to /ext/my-theme folder and change layout but not working.
I need a very detailed description of how to install extension / theme and change the layout in it and other things because the one on the website doesn't work.
I copy extension to /ext/my-theme folder and change layout but not working.
I need a very detailed description of how to install extension / theme and change the layout in it and other things because the one on the website doesn't work.
Re: Differents layouts for sites
You have to add your extension to the ./packages/, then you can use "composer req ...". It's described here:
https://aimeos.org/docs/2021.x/laravel/ ... -extension
https://aimeos.org/docs/2021.x/laravel/ ... -extension
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
Re: Differents layouts for sites
But I want change my extension in package folder and I have to composer update ?
How to make the changes immediately visible ?
For example I change file
How to make the change visible on the shop ?
How to make the changes immediately visible ?
For example I change file
Code: Select all
.\packages\new-theme\client\html\templates\catalog\detail\body-standard.blade.php
Re: Differents layouts for sites
The changes in the blade file should be immediately visible because composer only creates a symlink in the vendor folder. Make sure, Laravel doesn't cache the views and use this to clear the Laravel view cache:
Code: Select all
php artisan view:clear
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
Re: Differents layouts for sites
I have error after execute
Symlink failed, fallback to use mirroring!
Code: Select all
composer req aimeos-extensions/my-theme