Replies: 2 comments
-
Good suggestion had some more complex changes in Opencart 4, it would be nice maybe some simple guide showing how to convert XMLs (OCMODs) and types of ways to use Events correctly. An example, I have XMLs that change controller, model or library and view lines, but I don't know how I can migrate them to Events or another tool, since the View part I have ideas because the forum has already given suggestions, but I believe they are current forms a bit crude and that will degrade performance and probably cause conflicts that are difficult to parse, so it would be interesting examples even maybe taking a standard XML and converting it to Events. The new structure and location of the Modules is also an interesting summary. |
Beta Was this translation helpful? Give feedback.
-
@osworx: I agree, we need some documentation! I was trying to port our Export/Import tool to OpenCart 4, using the following folder structure: extension/export_import/admin/controller/tool/export_import.php I also noticed the namespaces don't match up with the underlying folder structure. For example, the extension/opencart/admin/controller/module/account.php uses the namespace Opencart\Admin\Controller\Extension\Opencart\Module instead of the expected Opencart\Extension\Opencart\Admin\Controller\Module This is totally confusing and goes against common practices in namespace usage in programming languages such as PHP, Java, and others! |
Beta Was this translation helpful? Give feedback.
-
Badly missing the promised Documentations!
see: #10922 (comment)
Because of the issues installing languages, themes, extensions in OC 4.x, it would be time to finish them (have you already started Daniel ?).
Otherwise I do really see no future for the 4.x release and any "extension" development for it.
Beta Was this translation helpful? Give feedback.
All reactions