Modifying component HTML
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!
-
- Posts: 1
- Joined: 26 Jan 2018, 12:39
Modifying component HTML
I want to modify the HTML of basket/mini component and I'm not sure what is the correct approach. I have 3 solutions on my mind:
1. Change the default template of component (basket/mini/body-default.php)
2. Change the template file in configuration (client/html/basket/mini/standard/template-body = basket/mini/NEW-FILE.php)
3. Create a new component
Thanks in advance,
using Laravel 5.5, Aimeos 2018.01.03, PHP 7.1.9
1. Change the default template of component (basket/mini/body-default.php)
2. Change the template file in configuration (client/html/basket/mini/standard/template-body = basket/mini/NEW-FILE.php)
3. Create a new component
Thanks in advance,
using Laravel 5.5, Aimeos 2018.01.03, PHP 7.1.9
Re: Modifying component HTML
Hello!
You need to create extension first. Please look at these links
https://aimeos.org/docs/Developers/Create_an_extension explanation
https://aimeos.org/developer/extensions/ one-click builder
There will be copies of core files. Then you can modify existing files of extension or remap it at configuration as you wrote.
Good luck!
You need to create extension first. Please look at these links
https://aimeos.org/docs/Developers/Create_an_extension explanation
https://aimeos.org/developer/extensions/ one-click builder
There will be copies of core files. Then you can modify existing files of extension or remap it at configuration as you wrote.
Good luck!
Laravel 6.18.19 | php 7.4.7 | Xubuntu | Aimeos Laravel 2019.10.5