Post by adems » Mon Mar 16, 2015 10:40 pm

Hi,
I'm new in this forum, and I have a very interesting URL that guide me to the OCMOD structure.

This page introduce me with OCMOD structure.

Explaining me clearly how to make install.xml where OCMOD properties and how to insert vQmod script,
install.sql where we could modify the OC database.
upload folder where you can put your files to work in the opencart.

....but it doesn't explain about the install.php used for. how the simple script was, or weather we could use the OC PHP class.

is there any body here could give an example of the install.php script?

thx,
.AdeMS.

Newbie

Posts

Joined
Mon Mar 16, 2015 10:04 pm

Post by adrianb1890 » Tue Feb 21, 2017 4:46 pm

I am intersted in this as well, there is no documentation regarding install.php or example.

Newbie

Posts

Joined
Sat May 03, 2014 7:38 pm

Post by boundtoimpress » Sun Nov 05, 2017 9:25 am

Has there been any new documentation on the use of install.php as yet?

I'd like to add an additional column to the products table to enable "Call for Price" on certain products.

The install.php would appear to be the place to do this type of one-off install procedure.


Posts

Joined
Mon Jan 19, 2015 7:56 am

Post by IP_CAM » Sun Nov 05, 2017 1:57 pm

Fellows, you're talking secrets, OcMod has nothing to do with an install.php File. ???
And better than just talking about some interesting Links, SHOWN THEM HERE !
Ernie

Please do NOT send me Personal Mails, they will no longer be replied to.
---
My Github OC Site: https://github.com/IP-CAM
2'800+ FREE OC Extensions on the World's largest Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

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

Post by boundtoimpress » Sun Nov 05, 2017 2:08 pm

The reference to the install.php is about halfway down this page:
http://docs.opencart.com/extension/modifications/


Posts

Joined
Mon Jan 19, 2015 7:56 am

Post by IP_CAM » Sun Nov 05, 2017 10:46 pm

"install.php - optional"
This is an optional file containing custom php scripts implementing any post-installation logic if needed.


Well, as I mentioned, this file has nothing to do with OcMod, it's an additional install routine, doing it's Job,
after the OcMod itself has been installed, as it looks, it's just part of the OcMod Upload Content.
Ernie

Please do NOT send me Personal Mails, they will no longer be replied to.
---
My Github OC Site: https://github.com/IP-CAM
2'800+ FREE OC Extensions on the World's largest Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

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

Users browsing this forum: No registered users and 2 guests