Page 1 of 1

Modifying component HTML

Posted: 27 Jan 2018, 11:48
by goranrados
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

Re: Modifying component HTML

Posted: 27 Jan 2018, 13:03
by Travin
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!