Problem Overiding Members Controller
Permalink
Hi i am pretty sure i missing something obvious
i have take the file members.php from
concrete5.6.2.1\concrete\controllers
and placed it here
concrete5.6.2.1\controllers
then I have added the modified function view() from Concrete5_Controller_Members
found here
concrete5.6.2.1\concrete\core\controllers\single_pages
this gives me
I have deleted my cache but modifications are not taking effect
what I am missing
thanks for you help
i have take the file members.php from
concrete5.6.2.1\concrete\controllers
and placed it here
concrete5.6.2.1\controllers
then I have added the modified function view() from Concrete5_Controller_Members
found here
concrete5.6.2.1\concrete\core\controllers\single_pages
this gives me
<?php defined('C5_EXECUTE') or die("Access Denied."); Loader::model('user_list'); class MembersController extends Concrete5_Controller_Members { public function view() { $userList = new UserList(); $userList->sortBy('uName', 'asc'); $keywords = $this->get('keywords'); if ($keywords != '') { $userList->filter(false,("UserSearchIndexAttributes.ak_contact_address1 LIKE '%$keywords%' OR UserSearchIndexAttributes.ak_contact_address2 LIKE '%$keywords%'")); } $users = $userList->getPage(); $this->set('userList', $userList); $this->set('users', $users); $this->set('attribs', UserAttributeKey::getMemberListList());
Viewing 15 lines of 20 lines. View entire code block.
I have deleted my cache but modifications are not taking effect
what I am missing
thanks for you help
at dashboard/pages/single/
find page in list and hit refresh
hope this saves some else some time