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

RM 1.0 Controller name and controller action for resource view

Discussion in 'Resource Manager Support' started by CyberAP, Mar 29, 2013.

  1. CyberAP

    CyberAP Well-Known Member

    I really need this for styling to disable search box on the resource page.

    XenForo accepts this type of conditions:

    <xen:if is="{$controllerName} == 'XenForo_ControllerPublic_Thread' AND {$controllerAction} == 'index'"><!-- your stuff here --></xen:if>

    I want to know what is the controller name and controller action of the resource view page.
  2. cclaerhout

    cclaerhout Well-Known Member

    Use this:
    {xen:helper dump, $variable}
    {xen:helper dump, $controllerName}
    {xen:helper dump, $controllerAction}
    {xen:helper dump, $viewName}
    CyberAP likes this.
  3. CyberAP

    CyberAP Well-Known Member

    Thanks a lot, that helped!

Share This Page