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

<xen:callback class="XenForo_ControllerPublic_Forum" method="actionWatch">

Discussion in 'XenForo Development Discussions' started by Marcus, Jul 29, 2013.

  1. Marcus

    Marcus Well-Known Member

    Is that even possible? It would be my shortest addon ever :D

    Unfortunately it doesn't work. But I want to know, why.
  2. Chris D

    Chris D XenForo Developer Staff Member

    It would help if you explained what you were trying to achieve...
  3. Marcus

    Marcus Well-Known Member

  4. Chris D

    Chris D XenForo Developer Staff Member

    <xen:callback tags aren't allowed to return controller/view objects. They're quite a bit more simple than that.
    Marcus likes this.
  5. Marcus

    Marcus Well-Known Member

    That's sad. That would be the actually html: <xen:callback class="XenForo_ControllerPublic_Watched" method="actionForum">Watched Forums</xen:callback>

    Thanks for your help !
  6. Jeremy

    Jeremy XenForo Moderator Staff Member

    You should be able to reroute to a different controller / action in your add-on.

Share This Page