Post by Qphoria » Fri Sep 04, 2015 9:00 pm

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.

Attachments


Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Johnathan » Fri Sep 04, 2015 11:11 pm

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?

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Qphoria » Mon Sep 07, 2015 1:02 am

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

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Johnathan » Mon Sep 07, 2015 10:01 pm

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

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am

Who is online

Users browsing this forum: No registered users and 6 guests