Can't Overide template

Help for integrating the Laravel package
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!
User avatar
MPOUAMONWAKPARE-AMEY(spero)
Posts: 3
Joined: 11 Sep 2023, 13:49

Can't Overide template

Post by MPOUAMONWAKPARE-AMEY(spero) » 02 Dec 2023, 12:56

Hello, thanks for the good job you are doing.
I get stuck overiding templates

Aimeos 2023
Laravel 10

I install extension like said from the documentation using composer
I create new extension from generator like recommanded, then copy it in a foder named packages in the root of my project and i copy content of templates folder from ai-client-html and put it in my extension templates folder.
When I comment or change for eg the content of packages/my-extension/templates/catalog/home/body.php nothing seems to be changed.

PS i disbled cache from config file: shop.php and use also aimeos:clear command

Thanks

User avatar
aimeos
Administrator
Posts: 7894
Joined: 01 Jan 1970, 00:00

Re: Can't Overide template

Post by aimeos » 02 Dec 2023, 14:14

The path to the file must be:

Code: Select all

packages/my-extension/templates/client/html/catalog/home/body.php
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply