RM 1.0 Controller name and controller action for resource view

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.
Thanks.
 
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.
Thanks.
Use this:
Code:
{xen:helper dump, $variable}
Examples:
Code:
{xen:helper dump, $controllerName}
Code:
{xen:helper dump, $controllerAction}
Code:
{xen:helper dump, $viewName}
 
Back
Top Bottom