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

1.4 Help Pages assign to AddOn

Discussion in 'XenForo Suggestions' started by Hoffi, Jul 15, 2014.

  1. Hoffi

    Hoffi Well-Known Member

    It would be very helpful, if help pages could be assigned to AddOns. This may screw down the code from several AddOns.

    Actually it it much work, to implement new Help Pages.
    nrep, batpool52!, Jake B. and 22 others like this.
  2. Jake B.

    Jake B. Well-Known Member

    Definitely should be done. It's such a pain to do now, especially since it uses phrases that contain the auto increment field.
  3. Chris D

    Chris D XenForo Developer Staff Member

    The custom help pages system isn't really useful to an add-on developer, because you've always been able to do custom help pages.

    There's nothing to stop you from extending the Help controller with a new action, template, phrases etc. then you have full control over everything.
  4. Brogan

    Brogan XenForo Moderator Staff Member

    ^ That.

    My help pages add-on consists of a very basic ControllerPublic\Help.php consisting of less than 30 lines, and a Listener.php of less than 10.
    Chris D likes this.
  5. Jake B.

    Jake B. Well-Known Member

    Not sure why I didn't think of that.. We just added a help page to the AD Credits add-on beta, will have to change it for the next beta to do that.
  6. Hoffi

    Hoffi Well-Known Member

    No problem, sure. But it can be easier with assigning it to an addon. Nearly all can be assigned to an addon, why not Help Pages?
  7. nrep

    nrep Well-Known Member

    Sorry to bump an old thread @Brogan, but I've been looking for the add-on you're referring to but can't find it. Is it somewhere in the resources section on here? I'm trying to add custom help pages for an addon and this sounds like it would help.
  8. Brogan

    Brogan XenForo Moderator Staff Member

    It's not something I ever released.

    As it was just for my own use, it has a lot of stuff hard coded.

Share This Page