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

Add-on installation steps

Discussion in 'XenForo Development Discussions' started by Jawsh, Apr 1, 2016.

  1. Jawsh

    Jawsh Formerly null0

    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.
     
  2. Jake B.

    Jake B. Well-Known Member

    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)
     

Share This Page