Post by Reptile » 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?

All my extensions: Click here or Click here


User avatar
Active Member

Posts

Joined
Mon Jan 30, 2012 7:23 pm
Location - The Netherlands

Post by straightlight » 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.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Reptile » Wed Jun 15, 2022 8:02 pm

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?

All my extensions: Click here or Click here


User avatar
Active Member

Posts

Joined
Mon Jan 30, 2012 7:23 pm
Location - The Netherlands

Post by JNeuhoff » 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.

User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by Reptile » Thu Jun 16, 2022 12:46 am

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.

All my extensions: Click here or Click here


User avatar
Active Member

Posts

Joined
Mon Jan 30, 2012 7:23 pm
Location - The Netherlands

Post by sw!tch » Thu Jun 16, 2022 1:26 am

There is a seperate repo for examples being worked on, but nothing really in detail as of yet.

- https://github.com/opencart/examples

-

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm
Who is online

Users browsing this forum: paulfeakins and 5 guests