0

I want to alter the query run in the hook_pageRun(&$page) under Manage
Events Page to alter the (event list) results shown here. I can alter
the rows from hook_civicrm_pageRun , but I want to make changes
in that row based on the values entered in the
custom filter (e.g. default filter available is Event Type)
Suppose I change the Event Status(custom filter) , I want to change the results of $row
based on that filter.

  • Don't you get the filled values in $_POST? – jitendra - fuzion Jan 29 at 12:35
  • okay @jitendra-fuzion, I think that should be helpful, will try ,can you answer this if possible :- civicrm.stackexchange.com/questions/28241/… – harshal Jan 29 at 15:18
  • Hi @jitendra-fuzion, I tried but I get an empty array when I try to print $_POST under hook_civicrm_pageRun but I see values in the session under $_SESSION['CiviCRM']['_CRM_Event_Form_SearchEvent_5dae5c805b43bf196335d884396c9c3b_9134_container']['values']['SearchEvent']['event_status'] – harshal Jan 30 at 2:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.