At present, it uploads to a new folder in the admin section called "uploads".
It takes a zip that has the folder "upload" in it's root directory, and when unzipped it simply extracts all files to the opencart root folder recursively. It doesn't matter whether the file is uploading into the catalog or admin folders, just anywhere in the opencart installation.
Cons: At present, it overwrites everything when you upload a new file, so I need to add more granular control over whether it overwrites files automatically or skips files that already exist just in case, but it's actually working as a uploader & file extraction tool right now.
I will do the same for themes ie. a theme manager, uploader/installer.
Payment, shipping etc could all use the same upload/extract library as well.
What's required for finishing this.
- As mentioned above, more granular control over the way the zip is extracted - it's not make or break though at this stage, so I can still release without this and put any warnings in the documentation.
- I want to add module positions for existing & future modules as a tab. ie. module position management. The module positions will then be stored in the database as a setting, not in each module hardcoded in the files.
Cons: Module positions are hardcoded in the controllers at the moment - will need to be updated with new code or reference module positions from the db rather than coded. My current solution is to add a "get code" feature with instructions to include it in the relevant controller file.
Does anyone like this?
http://www.alreadymade.com
Follow me on twitter.com/alreadymade
Mine is just an upload filebox that will extract a zipped module and copy the contents to the correct location.
There is also beginner code for my previous ideas of using an SMF-style xml modification system.
Perhaps my code will help or you may have already gotten past this point.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
It's also not pointless, because I'm coming at this from a 'cutting down of support' and making it easier for the user perspective.
If I release documentation on module best practise packaging then everyone will follow suit because I want to provide this as a free tool anyway. So free in core or not, it should work fine.
It would be good to standardize the way that all modules are packaged and installed, that's what I'm trying to do.
The Get Modules tab shows a list of modules that are automatically downloaded to the user's current installation. That cuts down all support, all installation issues and puts the module directly into the users administration.
It does become pointless when we decide that we want one or two developers to handle the entire weight of all innovation that is within opencart, essentially alienating all other developers or worse, commercialising all future modules.
@Qahar, I'm currently looking at drupal's uninstall routine, which is similar to their install routine, and it looks like I could borrow some concepts from that, for this mod.
http://www.alreadymade.com
Follow me on twitter.com/alreadymade
Could you also set it up to run the sql queries for those modules that need them?
930sc ... because it is fun!
isn't that what you are trying to do here? except it will be worse because someone else will see a problem with it and release their version then another and we'll have 5 different mod installers and which one do you support which one does your customer have installed. Not such a big deal if all your customers start and end with you, but what about people who are simply putting mods out there for anyone. I certainly agree that OpenCart needs a mod installer in the admin, but I absolutely believe that it needs to be discussed and a best possible proper solution added directly into the core so that all mod makers can follow the standards and all mods can eventually be installed straight through the admin.readyman wrote: It does become pointless when we decide that we want one or two developers to handle the entire weight of all innovation that is within opencart, essentially alienating all other developers or worse, commercialising all future modules.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
lolo, similar arguments that I made about developers abusing the setting table to hack a mod to work globally.
Having standards to follow will be pain in the arse but will benefit all in the end
930sc ... because it is fun!
Its not a big deal for developers, but for simple users its a stressful issue. most of my clients have no clue what is FTP
We develop much on opencart and love it for its code, but we want it also to be loved by users for its usability.
So, If there is a need for a helping hand, i a more than interested.
Many OpenCart users struggle to find quality extensions. We know how frustrating the need to fix the shop is just because of one poorly coded extension. We created quality OpenCart Extensions, tested by real developers and provide professional support.
AJAX QUICK CHECKOUT - #1 one-page checkout solution
VISUAL DESIGNER - Page builder for Opencart
View more extensions here
Tested by Shopunity.net
Personally, as someone who has worked with the Joomla CMS for several years, the various "Manager" functions within the administration cpanel are both essential and invaluable in terms of managing any/all content and site administration.
OpenCart may not be a content management system per se ... but it actually kinda IS - as we are managing the content/information that is presented and displayed for our respective stores.
Thanks for the quick reply and insight. I am new to OpenCart, so I am continuing my self-education/research as to the various elements and capabilities. vQmod is still a bit of a foreign concept to me - having spent most of my "web design/development" time and learning within the Joomla CMS system. (I'm actually a Forum Moderator and (as much/best I can) Support Team Member for a Joomla template club).JAY6390 wrote:This as far as I know has been abandoned. Nowadays most mods use vQmod instead. There is a vQmod manager for that
In any case, THANK YOU for the insight. My learning process continues.
See this discussion for details.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
I am currently using my new addon manager for a new Opencart based website which I am currently developing, to gain some more experience on a real world project. The addon manager uses a new system/engine, and most classes are now loaded via a new factory.JAY6390 wrote:Excellent, I look forward to seeing the result
The factory automatically makes use of extended classes for controllers, models, system/library classes, if there. It can also modify language files and templates, the latter is done in an overrriden new method called preRender. As an unexpected side effect, the whole lot seems to run faster than the original Opencart engine.
Hope to release it very soon under the GPL3 license. I think it has the potential to replace VQmod in the long run, for the time being I have also added support for VQmod which it detects automatically.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Daniel seems to be working on something too:
https://github.com/opencart/opencart/bl ... anager.php
-Ryan
Our addon manager solves different problems compared to what Daniel's extension manager does. But it's good to see the efforts in bringing OpenCart forward in that direction.rph wrote:Sounds interesting. Can't wait to see it.
Daniel seems to be working on something too:
https://github.com/opencart/opencart/bl ... anager.php
Our addon manager is able to modify Opencart core classes, language files and templates, and can handle multiple addons which happen to modify the same core files. I have completed a first round of testing, and already have deployed a few addons (formerly written as VQmods) on a new Opencart based website, with few of them modifying the same Opencart core classes and templates.
I am now working on some documentation, also hope to write a admin tool for this to manage the uploads of addons.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Users browsing this forum: No registered users and 39 guests