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

Not Planned Page nodes as part of an addon?

Discussion in 'Closed Suggestions' started by SneakyDave, Jun 27, 2016.

  1. SneakyDave

    SneakyDave Well-Known Member

    With the addition of callbacks added to page nodes, it would be nice if pages themselves could be included as part of an addon.

    I have a small addon that, using the route filter, and page node with a callback, allows me to not have to create a new ControllerPublic. But I can't package it or release it as an addon because it uses a page node.

    Should I just change it to use a ControllerPublic just to make things simpler?
  2. SneakyDave

    SneakyDave Well-Known Member

    Never mind, @Daniel Hood suggested to me that I could just create the page node in the installer if I wanted to keep using it as a page node.
  3. Mike

    Mike XenForo Developer Staff Member

    That's what I was going to suggest, but I'd probably recommend doing it as something bespoke if your add-on depends on it.

    Generally going to say that this is not planned though.
    SneakyDave likes this.

Share This Page