Opencart 3.x insists placing the controller file of my extension under extension/module folder if I want to allow it to be installed using built-in extension installer. This is ok if my extension has only one controller file. The extension I am developing has one module settings screen and several other screens and hence has several controller files. I can place the controller for module settings under extension/module folder. The question is where will I place other controller files so that the extension can be still installed using extension installer.
1. If I l keep others also under extension/module folder, each screen will appear as an entry in module list which will be confusing to the user. These screen should appear as menu options only. ( I have OCMOD to add menu items to column_left.php)
2. I can't create one folder under controller and place them in this because extension installer would fail with error - 'directory is not allowed to be written'
How do you developers manage this? What does opencart recommend?
This topic has now been moved to the OpenCart 3.0 Support > General Support section of the forum.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Why do you need multiple installations? Keep the module with settings and do everything in its install() function. No need to complicate things.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
Who is online
Users browsing this forum: No registered users and 33 guests