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

Add-on installation steps

Jawsh

Formerly null0
#1
Hey,

Is it possible to add steps into an add-on's installation? The add-on I'm developing requires specific pieces of information from the user to work at all, and I'd like to have that be a page during installation.

I'm pretty sure I've seen add-ons that do this but I can't think of them. If you know one let me know so I can peek the code.
 

Jake B.

Well-known member
#2
As far as I'm aware the best you can do is throw an error message telling them they need to fix something. You can also change the redirect URL after installation, but as far as adding a page to the installation process before the add-on installs I don't think you can. Neither the Controller or View objects are available, and none of your templates are available (as the add-on hasn't been installed)