Custom admin config not working
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!
-
- Posts: 2
- Joined: 07 Aug 2018, 11:00
Custom admin config not working
Hello everyone,
I am trying to remove some subparts from the product configuration. In my extension, I have the custom config file ( admin.php - https://textuploader.com/dzi58 ) under lib/custom/config and in manifest.php I have the following line for the config folder:
However, when I remove a subpart nothing happens and as the default configuration is used and the custom one is ignored.
Do I have to do anything else to make it work?
Thank you in advance
Laravel Version: 5.6
Aimeos Version: 2018.07
PHP: 7.2
Environment: Homestead Laravel Vagrant Box (Linux Debian)
I am trying to remove some subparts from the product configuration. In my extension, I have the custom config file ( admin.php - https://textuploader.com/dzi58 ) under lib/custom/config and in manifest.php I have the following line for the config folder:
Code: Select all
'config' => array(
'lib/custom/config',
),
Do I have to do anything else to make it work?
Thank you in advance
Laravel Version: 5.6
Aimeos Version: 2018.07
PHP: 7.2
Environment: Homestead Laravel Vagrant Box (Linux Debian)
Re: Custom admin config not working
Your configuration is merged with the existing confguration. This makes it easy to add or change confiugration options but doesn't allow you to remove configuration. This is only possible if you put the parent array of what you would like to remove into the ./config/shop.php of your Laravel application because that config will overwrite the existing config instead of merging with.
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
-
- Posts: 2
- Joined: 07 Aug 2018, 11:00
Re: Custom admin config not working
Ok I'll do that. Thank you very much for your help