• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

How-to write your add-on incremental installer [Deleted]

Rigel Kentaurus

Well-known member
#1
Rigel Kentaurus submitted a new resource:

How-to write your add-on incremental installer (version 1.0.0) - How to handle upgrades

So.. your add-on will need an installer. Good news. You can run any PHP code you want that is needed for the installation. This includes creating the tables that you need.

But then you write a new version .. and you need to handle both new users and upgraders .. .uh-oh

For an installer, in the addon configuration you need to write the class and method that will be called. I'll assume you already did that.

View attachment 26588

The "install" method will get a reference to the...
Read more about this resource...