change the content helper path
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!
- ahmed31916
- Advanced
- Posts: 148
- Joined: 14 Apr 2022, 12:15
change the content helper path
Hello,
This helper, goes to the route "aimeos/path/to/image".
How to remove "aimeos" keyword from the path?
This helper, goes to the route "aimeos/path/to/image".
Code: Select all
$this->content('path/to/image')
Re: change the content helper path
Overwrite the "fs" and "fs-media" file systems in your config/shop.php and adapt the "baseurl" value:
https://github.com/aimeos/aimeos-larave ... hp#L53-L64
https://github.com/aimeos/aimeos-larave ... hp#L53-L64
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
- ahmed31916
- Advanced
- Posts: 148
- Joined: 14 Apr 2022, 12:15
Re: change the content helper path
when I tried to override on the "resource" in the "config/shop.php", I got this error:
full trace:
https://flareapp.io/share/LPdoNdYm#F81
Code: Select all
An exception occurred in the driver: SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO)
full trace:
https://flareapp.io/share/LPdoNdYm#F81
Re: change the content helper path
Configuration in ./config/shop.php replaces the whole default configuration so you have to add the complete config and change the parts you need:
https://github.com/aimeos/aimeos-larave ... p#L36-L105
https://github.com/aimeos/aimeos-larave ... p#L36-L105
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