Override doesn't work

Questions around the Aimeos bundle for the Symfony framework
Forum rules
Always add your Symfony, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
samking
Posts: 4
Joined: 15 Apr 2019, 08:40

Override doesn't work

Post by samking » 17 Apr 2019, 07:37

Hello,
thank you for your amazing work on aimeos.
It works great but I have problems to configure override.
I've made an extension as said in this link : https://aimeos.org/docs/Developers/Create_an_extension
I made the change in my composer.json and run the

Code: Select all

composer dump-autoload
command, but when I made changes in my templates it doesn't change anything...
My second question is about the general bundle override, in Symfony 4 usually we have to modify the router to override bundle, is this still the same in Aemios or we have to use extension too?
If you can help me thank you :D
I'm on Symfony 4,aemios 2019.04 with php 7.3.3 and I'm on Mac.

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

Re: Override doesn't work

Post by aimeos » 17 Apr 2019, 14:28

Where did you store your own Aimeos extension and where are your templates located?

The Aimeos routes are defined the standard way in Symfony. Maybe you can overwrite routes or include routes groups with a new prefix if your own route file is loaded after the routes of the packages. Here are the route files you can have a look at:
https://github.com/aimeos/aimeos-symfon ... ces/config
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply