Have a question about CiviCRM? Get it answered quickly at the new CiviCRM Stack Exchange Q+A siteThis forum was archived on 25 November 2017. Learn more.How to get involved.What to do if you think you've found a bug.
I would like to display this search to non-admin users of the website i.e. visitors. and when I attempt to test this I am getting "Accessed Denied errors".
I am also getting the Find Contacts, Advanced Search, Search Builder tabs are still visible.
if ( $path == 'civicrm/contact/search/custom' ) { return;}
Would it be better to approach this via a development of a new module as previously mentioned?
$url = CRM_Utils_System::url( 'civicrm/event/register', "id={$this->_id}&reset=1", true, null, true, true );
// this is untested - but should be close function alterRow( &$row ) { $row['civicrm_reglink'] = '<a href="' . CRM_Utils_System::url( 'civicrm/event/register', "id={$row['event_id']}&reset=1", true, null, true, true ) . '">' . $row['civicrm_reglink'] . '</a>';}