I am close to releasing a free extension that gives admin the ability to do basic give-away drawings.
I have a model, a view, and a controller and do not use vqmod. Do I just give a zip file with upload/amin/controller and /model and /view/template/yaddayadda ?
I am unsure how I am supposed to package these files together for release. Can anyone point me to some reading? My searching has come up for naught... and a suggested paid solution ;/
Thanks!
am unsure how I am supposed to package these files together for release
well, it depends on how easy you want it to make for other Newbies, to find out!
But usually, an OC Extension is built to be installed into the
SHOP/... Sub, meaning, that
an admin/related path starts by admin/...
a catalog/related path starts by catalog/...
a system/related path starts by system/...
a vqmod/related path starts by vqmod/...
and all mod-files have to be placed, to so be uploaded
into their matching subs on the server,i.E.;
catalog/controller/module/your_new_module.php
Good Luck!
Ernie
well, it depends on how easy you want it to make for other Newbies, to find out!

But usually, an OC Extension is built to be installed into the
SHOP/... Sub, meaning, that
an admin/related path starts by admin/...
a catalog/related path starts by catalog/...
a system/related path starts by system/...
a vqmod/related path starts by vqmod/...
and all mod-files have to be placed, to so be uploaded
into their matching subs on the server,i.E.;
catalog/controller/module/your_new_module.php
Good Luck!
Ernie
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
If you don't use ocMod, then you'd need to structure it this way, all within an enclosing folder called "upload":
/upload/admin/controller/module/YOUREXT.php
/upload/admin/language/YOURLANGUAGE/module/YOUREXT.php
/upload/admin/model/module/YOUREXT.php
/upload/admin/view/template/module/YOUREXT.tpl
If you do use ocMod, then you add that file as one called "install.xml" in the /upload/ folder.
You would then zip up the "upload" folder, and make sure the zipped bundle ends in .ocmod.zip (if you want it to work with the extension installer). You may need to test it out in the installer to make sure your zipping application zips it correctly, and doesn't add an enclosing folder to it.
/upload/admin/controller/module/YOUREXT.php
/upload/admin/language/YOURLANGUAGE/module/YOUREXT.php
/upload/admin/model/module/YOUREXT.php
/upload/admin/view/template/module/YOUREXT.tpl
If you do use ocMod, then you add that file as one called "install.xml" in the /upload/ folder.
You would then zip up the "upload" folder, and make sure the zipped bundle ends in .ocmod.zip (if you want it to work with the extension installer). You may need to test it out in the installer to make sure your zipping application zips it correctly, and doesn't add an enclosing folder to it.
Who is online
Users browsing this forum: No registered users and 3 guests