Page 1 of 3

vQmod Generator, Editor and Log Viewer

Posted: Tue Dec 06, 2011 4:17 pm
by uksitebuilder
After toying with a generator for creating vqmod xml files, I decided to release a complete tool for creating, editing and testing vQmod xml files.

The tool however, is now available for download for use on your own server so you can interact with your own mods, test and edit them

The tool Includes file creation, file editing, file manager, cache viewer and log viewer.

http://uksb.github.com/vqgen/

In addition to this tool we have also released a local development version of the OpenCart v1.5.1.3.1 with this tool and vqmod pre-installed, which will allow you run opencart on a local Windows machine without the hassle of having to set-up your own PHP, mySQL stack

More Info: http://www.opencart.com/index.php?route ... on_id=5058

Re: vQmod Generator, Editor and Log Viewer

Posted: Tue Dec 06, 2011 7:17 pm
by SXGuy
brilliant! this will def come in handy, as i planned to make vqmod's instead of editing files in the future.

Re: vQmod Generator, Editor and Log Viewer

Posted: Tue Dec 06, 2011 11:03 pm
by marcelwoo
Invention of vQmods is one of the milestones in opencart development and your generator is gonna be another one!
I want to thank you one half of all the people who are struggling with manually hacking their codes O0

Re: vQmod Generator, Editor and Log Viewer

Posted: Wed Dec 07, 2011 5:27 am
by uksitebuilder
Updated the tool

Added more details for each vqmod file in the list of files.
Moved error log viewer to ajax, load on tab click,to save from loading until required.

Re: vQmod Generator, Editor and Log Viewer

Posted: Wed Dec 07, 2011 6:54 am
by dony_b
This makes it so much easier .thanks

Re: vQmod Generator, Editor and Log Viewer

Posted: Thu Dec 08, 2011 7:24 am
by uksitebuilder
Small update added to fix bu with file names when saved cutting out any underscores.

Re: vQmod Generator, Editor and Log Viewer

Posted: Sun Dec 11, 2011 4:05 am
by uksitebuilder
Another update added

Some minor bug fixes and usability improvements.

Also added ability to insert new operations before/after other operations instead of just adding to the end of the file operations.

Re: vQmod Generator, Editor and Log Viewer

Posted: Sun Dec 11, 2011 5:09 pm
by jimaras
Hi,
thank you for this wonderful extension.

I have an error:

Code: Select all

Notice: Undefined variable: inactivevqmods in ****\mystore\vqgen\index.php on line 128
I test it in xampp.
I have 1.5.1.3

Re: vQmod Generator, Editor and Log Viewer

Posted: Sun Dec 11, 2011 5:52 pm
by uksitebuilder
Thanks for the heads-up

I have updated to add stricter variable checks for users with high error reporting settings.

Re: vQmod Generator, Editor and Log Viewer

Posted: Tue Dec 27, 2011 2:04 pm
by jason.sang
Good work, good tool!
Thank you!

Re: vQmod Generator, Editor and Log Viewer

Posted: Tue Dec 27, 2011 9:37 pm
by marcelwoo
the edit function does not work. I tried it on localhost. After click a file to edit:
(1)the generator only displays options like author, version, file name, no contents part.
(2)The extension name of the previously generated file was changed to "_xml".
(3) And the "add a new file to edit", "add a new operation" and "generate XML file" buttons just freeze and do not work.

Hope this helps to improve this wonderful tool!

Re: vQmod Generator, Editor and Log Viewer

Posted: Wed Dec 28, 2011 5:55 am
by marvmen21
Hi, thanks for this great tool. The edit function is not working for me either.

Re: vQmod Generator, Editor and Log Viewer

Posted: Wed Dec 28, 2011 7:06 pm
by open-electronics.org
Hi, I'm using this fantastic tool.
But I have a problem:

I have to insert the code

Code: Select all

$('input[name=\'filter_sku\']').autocomplete({
but I obtain

Code: Select all

$('input[name='filter_sku']').autocomplete({
without \ :'(

How to insert in the code also the Slash character?

Thank you

Re: vQmod Generator, Editor and Log Viewer

Posted: Wed Jan 18, 2012 2:14 am
by uksitebuilder
Hi Guys,

I cannot reproduce the edit file problem other than there being a known issue with xml files that contain HTML comments (as per the included readme file).

I have also tried to reproduce the backslash problem. Again I can not reproduce.

Please make sure you have the latest version installed.

Re: vQmod Generator, Editor and Log Viewer

Posted: Fri Feb 10, 2012 1:59 am
by educolo
Hi,
I had the same problem editing a file. My problem was that my server has the php error configuration a little strict, so I have "notices" inside the JS.
To solve this I only added this line at the top of the file:

Code: Select all

ini_set("display_errors", "false");
Hope this help.
Thanks for this tool

Re: vQmod Generator, Editor and Log Viewer

Posted: Fri Feb 17, 2012 8:09 pm
by uksitebuilder
Updated the opening post to add a new tool for local development of OpenCart

More Info: http://www.opencart.com/index.php?route ... on_id=5058

Re: vQmod Generator, Editor and Log Viewer

Posted: Sun Mar 04, 2012 1:54 pm
by txyaaj
uksitebuilder wrote:Hi Guys,

I cannot reproduce the edit file problem other than there being a known issue with xml files that contain HTML comments (as per the included readme file).

I have also tried to reproduce the backslash problem. Again I can not reproduce.

Please make sure you have the latest version installed.
You should be able to reproduce this problem by enter some text with like "\n" or "\r" . Save the file then edit it again. Once loaded the backslashes are not there...

I am using version 2.1.5 with OC 1.5.1.3 and discovered the same problem with backslash as mentioned above by others. My case is I am trying to add a new line or carriage return by using:
"\n" or "\r"

The first time I enter the code, they work fine. But if I try to edit the xml file later, it will not parse correctly - the backslashes will be gone. I tested it by using double backslashes and as expected will let me edit the xml twice. It seems that each time the xml file is parsed, it eliminates one backslash etc.

Re: vQmod Generator, Editor and Log Viewer

Posted: Fri Apr 20, 2012 8:00 am
by edwardmill
I have install the vqgen into my server but when I'm trying to generate the file it say that "You do not have permission to access this document" can anyone tell me what should i have to do ??????????????????????????????????

Re: vQmod Generator, Editor and Log Viewer

Posted: Tue May 01, 2012 9:50 am
by OC2PS
I generated a file. vqgen says it was successfully generated. But where is it? I couldn't find in vqmod or vqgen or any of their subfolders... ???

At http://www.opencart-extensions.co.uk/vqgen/ above the Generate button you have radio button options
Download XML File
or Save XML File to vqmod/xml

But these options don't appear on my site when I run vqgen

Re: vQmod Generator, Editor and Log Viewer

Posted: Tue May 15, 2012 8:24 pm
by AvanOsch
Hi all,

I ran into various problems that are reported here too.
I have made a bug-fixed version, with some additions for myself.
(Added a simple Manual Installation Generator, Collapse-able generator fields)

I have already tried to contact uksitebuilder, but he has not responded yet.

Thought I'd also post my 2 cents here, as lot's of you are having the same issues I was having...
Enjoy.