Page 1 of 1

[vQmod] - Add vQmod support to Extension Installer

Posted: Fri Sep 04, 2015 9:00 pm
by Qphoria
In OpenCart 2.0, there is a nice extension installer in the admin area.
It will let you install files that have the "mymod.ocmod.zip" naming convention and will install folders and files within an "upload" folder. It does not, however, support the "vqmod" folder.

This script will add support to the installer to also include vqmod scripts.

Upload it to your vqmod/xml folder using ftp.

Re: [vQmod] - Add vQmod support to Extension Installer

Posted: Fri Sep 04, 2015 11:11 pm
by Johnathan
I thought the extension installer already did this. When I last tested it, files in the /upload/vqmod/xml/ folder of my extension's .zip worked fine, I believe. Am I crazy, or just misunderstanding what this does?

Re: [vQmod] - Add vQmod support to Extension Installer

Posted: Mon Sep 07, 2015 1:02 am
by Qphoria
Johnathan wrote:I thought the extension installer already did this. When I last tested it, files in the /upload/vqmod/xml/ folder of my extension's .zip worked fine, I believe. Am I crazy, or just misunderstanding what this does?
You are right, it will upload the vqmod folder, however it doesn't check for overwrites like if you try to reinstall an updated version of a mod. It will warn you about the admin, catalog, system, and image folders, but not about overwrites to the vqmod folder. This adds that

Re: [vQmod] - Add vQmod support to Extension Installer

Posted: Mon Sep 07, 2015 10:01 pm
by Johnathan
Qphoria wrote:You are right, it will upload the vqmod folder, however it doesn't check for overwrites like if you try to reinstall an updated version of a mod. It will warn you about the admin, catalog, system, and image folders, but not about overwrites to the vqmod folder. This adds that
Ah, gotcha. Thanks