example-modules
example-modules copied to clipboard
Make example modules works with Prestashop 8.0
For the moment the modules do not work on prestashop 8. Most often when accessing the configuration route of the module, for example :
- [x] demo_grid
- [x] democonsolecommand
- [ ] democontrollertabs
- [ ] demodoctrine
- [x] demoextendgrid
- [x] demoextendsymfonyform1
- [ ] demoextendsymfonyform2
- [x] demoextendsymfonyform3
- [x] demojsrouting
- [ ] demomultistoreform
- [x] demooverrideobjectmodel
- [x] demoproductform
- [x] demosymfonyform
- [ ] demovieworderhooks
- [ ] example_module_mailtheme
Thank you @mflasquin for the big work!
It's seems some modules works but we have to clear the cache manually in BO before be able to use them. When the modules are installed on 1.7.7 they works even if the cache is not cleared manually. I don't know if it can be considered as an issue on Prestashop 8.
It's seems some modules works but we have to clear the cache manually in BO
We need to find out why. We need to understand what's behind that
I think the problem comes from recent Core changes. Many files were moved from PrestaShop\PrestaShop\Core\Addon\Module to PrestaShop\PrestaShop\Core\Module (1 level up). If you try to install module from Terminal, you will see warnings related to ModuleInterface
class then fail. Installing module from Back-Office run smoothly but you need Clear Cache to make the module work normally (clear the old cache of Module related class I guess :)