I've always HATED modifying core files, and stopped upgrading my old cart (OSC) to newer versions because I'd made so many modifications and it was too much of a hassle to compare all the files. Not any more!
Now I've just got to go back and find all of the core edits I've made and turn them into xml files. Should be fun
BTW, here's my first attempt at a vQmod: http://forum.opencart.com/viewtopic.php ... 0&p=130679, which seems to be working successfully.
I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1
But can I go through the details in simple terms:
1. You install vQmod in Opencart, by uploading the files and making the two minor amendments to index.php and admin/index.php
2. You drop your mod's vQmod .xml file into the vQmod's xml folder
3. Key point. If your mod doesn't yet have a vQmod .xml file version, you either
1) make one, if you know how
2) ask the developer to make a vQmod file for your chosen mod?
Is that right? ( --If so, any chance of a vQmod category/sorting option in the extensions section?)
1. YepMoggin wrote: 1. You install vQmod in Opencart, by uploading the files and making the two minor amendments to index.php and admin/index.php
2. You drop your mod's vQmod .xml file into the vQmod's xml folder
3. Key point. If your mod doesn't yet have a vQmod .xml file version, you either
1) make one, if you know how
2) ask the developer to make a vQmod file for your chosen mod?
Is that right? ( --If so, any chance of a vQmod category/sorting option in the extensions section?)
2. Yep
3a) Yep
3b) Yep
perhaps as vQmod gets bigger we could add a "has vQmod" flag
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
Is this ready yet ? Where can I buy a copy of it ?Qphoria wrote:Ive got the xml generator almost done. Just adding the jquery for adding multiple files and operations. That should make it even easier to make then.
This will be free. It got pushed back due to other work ive been doing but will be out asap as a page on the vQmod.com site.jty wrote:Is this ready yet ? Where can I buy a copy of it ?Qphoria wrote:Ive got the xml generator almost done. Just adding the jquery for adding multiple files and operations. That should make it even easier to make then.
Free Free with a Donation link is just perfect. I will be patient. Thank-youQphoria wrote:This will be free. It got pushed back due to other work ive been doing but will be out asap as a page on the vQmod.com site.
Is there anyway to write a vqmod that will change multiple files
For example, I want to change all instances of
Code: Select all
$this->data['continue'] = HTTP_SERVER . 'index.php?route=common/home';
Code: Select all
$this->data['continue'] = HTTP_SERVER;
Code: Select all
<file name="catalog/controller/checkoutcart/cart.php, catalog/controller/checkoutcart/success.php, catalog/controller/product/category.php">
if I'm not mistaken there was payment or shipping at previously separate with OC and then finally has become a part of OpenCart itself.
Find and get many various of opencart modules, themes, mods, etc for your opencart store at http://www.openmycart.com/oc/, OPENCART SITE customization and Maintenance supports at here
I was also thinking of having sub-folders under the xml folder to help us keep our xml files neat. At the moment, I am naming them admin_ and catalog_ to help me easily identify them.
Such a shame Rome wasn't built in one day
It is true that opencart has included a third party class (like dompdf ) in the past.
Knowing daniel's passion in keeping the core clean, and the way vQmod has to plugin directly to the index file, it is realistically highly unlikely that it will be added to the core...ever. But who knows what may happen in the future.
It is still very easy to add vQmod to opencart as it is which is something I find unique to opencart at this time. Ive been working on adding it to other projects but finding it to be difficult in the cases where includes are not centralized like they are in the startup.php file. So im looking in to ways to possibly automod or prepend. But thats still in the works.
It's mucking up in checkout where the buyer enters their address and in admin Settings where we choose the template and also the image manager to select logo is now not showing any files to select tho it was working yesterday.
The erorrs are only intermittent and go away with a refresh browser.
I'm not overly concerned as my xammp install is only a test environment. My live install is OK.
not sure what "mucking up" means nor any signs of vQmod being the culprit. What mods have you installed? Without any vqmods installed, it is completely transparent and none of what you are describing would act any different than if you didn't have it installed. The first function "modCheck" simply checks for mods on the file being loaded. If there are no mods, it returns the original file untouched.jty wrote: It's mucking up in checkout where the buyer enters their address and in admin Settings where we choose the template and also the image manager to select logo is now not showing any files to select tho it was working yesterday.
Here's the last 3 lines of my file:
Code: Select all
}
}
?>
Code: Select all
}
NEW CODE
}
?>
Code: Select all
<search position="bottom" offset="2">
I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1
Sorry. I should know better than to be so vague. Mucking up means it is swearing a mouthful of abusive errors at meQphoria wrote:not sure what "mucking up" means .......jty wrote: It's mucking up ................
I'll do a fresh install and methodically see if I can isolate the problem and report back if I discover anything worthy of reporting.
It is only on my xammp install so I'm not particularly concerned and it doesn't happen everywhere and it doesn't happen consistently. I suspect it might be that bug called Windows.
For anyone else that may be looking for this answer, I'm pretty sure that the above is correct.philbydevil wrote:Just a quick question about using "offset" with "bottom":
Here's the last 3 lines of my file:I want to insert the code like this:Code: Select all
} } ?>
So, is this correct:Code: Select all
} NEW CODE } ?>
Thanks.Code: Select all
<search position="bottom" offset="2">
I just finished reverting back to all original, unedited 1.4.9.3 core files, and all of my vQmods seem to be working perfectly. Thanks again Q... donation coming shortly.
I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1
I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1
Users browsing this forum: No registered users and 138 guests