Post by rgbrewer » Mon Jun 05, 2017 8:43 am

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!

New member

Posts

Joined
Sat Apr 22, 2017 9:30 am

Post by IP_CAM » Mon Jun 05, 2017 9:59 am

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! :laugh:
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.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Johnathan » Mon Jun 05, 2017 10:05 pm

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.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by rgbrewer » Tue Jun 06, 2017 8:14 am

Love you guys, thanks a ton.

New member

Posts

Joined
Sat Apr 22, 2017 9:30 am
Who is online

Users browsing this forum: No registered users and 3 guests