Page 1 of 1
Extension development
Posted: Wed Jun 15, 2022 6:01 am
by Reptile
This seems the only Opencart 4 category where you are allowed to open a topic.
I have a question.
To learn the changes in the Opencart 4 release I am converting one of my extensions to be compatible with Opencart 4.
All goes well and I can install it through the Extension installer.
The only thing I can’t seem to manage is to make it work with my VQMod script. (VQMod works fine)
What I want to do is simply install the extension with the installer and then place my vqmod file in the vqmod/xml folder.
Doing this manually works fine but is there a way to do this when the extension gets installed?
Re: Extension development
Posted: Wed Jun 15, 2022 7:08 am
by straightlight
Reptile wrote: ↑Wed Jun 15, 2022 6:01 am
This seems the only Opencart 4 category where you are allowed to open a topic.
I have a question.
To learn the changes in the Opencart 4 release I am converting one of my extensions to be compatible with Opencart 4.
All goes well and I can install it through the Extension installer.
The only thing I can’t seem to manage is to make it work with my VQMod script. (VQMod works fine)
What I want to do is simply install the extension with the installer and then place my vqmod file in the vqmod/xml folder.
Doing this manually works fine but is there a way to do this when the extension gets installed?
By using the VQMod Manager.
Re: Extension development
Posted: Wed Jun 15, 2022 8:02 pm
by Reptile
straightlight wrote: ↑Wed Jun 15, 2022 7:08 am
Reptile wrote: ↑Wed Jun 15, 2022 6:01 am
This seems the only Opencart 4 category where you are allowed to open a topic.
I have a question.
To learn the changes in the Opencart 4 release I am converting one of my extensions to be compatible with Opencart 4.
All goes well and I can install it through the Extension installer.
The only thing I can’t seem to manage is to make it work with my VQMod script. (VQMod works fine)
What I want to do is simply install the extension with the installer and then place my vqmod file in the vqmod/xml folder.
Doing this manually works fine but is there a way to do this when the extension gets installed?
By using the VQMod Manager.
So I should expect that every Opencart 4.0 user will use this third party extension?
Re: Extension development
Posted: Wed Jun 15, 2022 10:28 pm
by JNeuhoff
Reptile wrote: ↑Wed Jun 15, 2022 6:01 am
This seems the only Opencart 4 category where you are allowed to open a topic.
I have a question.
To learn the changes in the Opencart 4 release I am converting one of my extensions to be compatible with Opencart 4.
All goes well and I can install it through the Extension installer.
The only thing I can’t seem to manage is to make it work with my VQMod script. (VQMod works fine)
What I want to do is simply install the extension with the installer and then place my vqmod file in the vqmod/xml folder.
Doing this manually works fine but is there a way to do this when the extension gets installed?
You should really use event handlers, and not rely on 3rd-party XML-based modification systems.
Re: Extension development
Posted: Thu Jun 16, 2022 12:46 am
by Reptile
JNeuhoff wrote: ↑Wed Jun 15, 2022 10:28 pm
Reptile wrote: ↑Wed Jun 15, 2022 6:01 am
This seems the only Opencart 4 category where you are allowed to open a topic.
I have a question.
To learn the changes in the Opencart 4 release I am converting one of my extensions to be compatible with Opencart 4.
All goes well and I can install it through the Extension installer.
The only thing I can’t seem to manage is to make it work with my VQMod script. (VQMod works fine)
What I want to do is simply install the extension with the installer and then place my vqmod file in the vqmod/xml folder.
Doing this manually works fine but is there a way to do this when the extension gets installed?
You should really use event handlers, and not rely on 3rd-party XML-based modification systems.
I know but I can’t seem to find any examples on how to handle modifications in twig files with events.
And my extension does allot of that.
Re: Extension development
Posted: Thu Jun 16, 2022 1:26 am
by sw!tch
There is a seperate repo for examples being worked on, but nothing really in detail as of yet.
-
https://github.com/opencart/examples
-