codefight cms could not get admin page
Re: codefight cms could not get admin page
Thanks a lot for taking time and effort to make such a wonderful CMS with unique features. Thank you very much for the update to the CodeFight CMS.
Re: codefight cms could not get admin page
Thanks for pointing out the bug. Yes the issue came after above change.chaleswa wrote:New version of CMS:
please check the admin panel pagination. In the users section when click pagination link (2nd page). It didn't bring the 2nd page. I had similar problems with previous version not sure it happened after changing "admin.php" or before.
You can fix this by changing:
FILE: app/admin/modules/users/controllers/users.php
Code: Select all
$config['base_url'] = base_url()."users/index/";
Code: Select all
$index_page = $this->config->item('index_page');
if($index_page) $index_page .= '/';
$config['base_url'] = base_url().$index_page."users/index/";
Code: Select all
$index_page = $this->config->item('index_page');
if($index_page) $index_page .= '/';
$config['base_url'] = base_url().$index_page."comments/".$this->uri->segment(2, 'approved-comments')."/";