[ajax] how to send card=1 with OverlayTrigger

marioman

Active member
hi,

i using OverlayTrigger in link i have to open controller
but in actionIndex in this controller i need to test link using card=1

if it exist i get another action
if not i loaded present action

something like actionCard() in XenForo_ControllerPublic_Member

code below exist in actionMember() to send to actionCard() if it loaded by ajax only
PHP:
if ($this->_input->filterSingle('card', XenForo_Input::UINT))
        {
            return $this->responseReroute(__CLASS__, 'card');
        }
 
Top Bottom