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

how to pass parms in 1.2

Discussion in 'XenForo Development Discussions' started by arpitjain, Aug 10, 2013.

  1. arpitjain

    arpitjain Member

    in 1.1.5 i use this in my addon PublicController
    $parent = parent::actionIndex();
    and pass my array with it
    $parent->params['resources2'] = $resources2;
    return $parent;

    its working.....

    but its not working in xenforo 1.2 .....
  2. Chris D

    Chris D XenForo Developer Staff Member

    What controller are you extending?
  3. arpitjain

    arpitjain Member

    Index controller from Xenforo >> ControllerPublic
  4. Chris D

    Chris D XenForo Developer Staff Member

    You now need to extend XenForo_ControllerPublic_Forum

    The index controller now can load any page as defined in the options. By default it loads the forum index.
  5. arpitjain

    arpitjain Member

    thank you ...

Share This Page