Modules
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!
Modules
Hello everyone, I have a problem that I cannot find in the aimeos 2023 documentation, I have created an extension with the available tool and I want to include an override for the routes within the module itself, as it should be done, thank you!
Re: Modules
Disable the route groups in your ./config/shop.php by setting them to "false":
https://github.com/aimeos/aimeos-larave ... hp#L13-L30
Then, copy the routes you've disabled to your ./routes/web.php file:
https://github.com/aimeos/aimeos-larave ... aimeos.php
https://github.com/aimeos/aimeos-larave ... hp#L13-L30
Then, copy the routes you've disabled to your ./routes/web.php file:
https://github.com/aimeos/aimeos-larave ... aimeos.php
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: Modules
aimeos wrote: ↑10 Nov 2023, 07:49 Disable the route groups in your ./config/shop.php by setting them to "false":
https://github.com/aimeos/aimeos-larave ... hp#L13-L30
Then, copy the routes you've disabled to your ./routes/web.php file:
https://github.com/aimeos/aimeos-larave ... aimeos.php
Thanks is ok, but i need override files web.php or aimeos.php in my extension don't modify files kernel aimeos or laravel, thanks, I don't know if it's possible
Re: Modules
Only change files in your Laravel application, not in the ./vendor/ directory, so .../app/config/shop.php and .../app/routes/web.php are the right files.
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