Re: codefight cms could not get admin page

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.

Thanks for pointing out the bug. Yes the issue came after above change.



You can fix this by changing:


FILE:

[b]

app/admin/modules/users/controllers/users.php

[/b]


$config[‘base_url’] = base_url().“users/index/”;

to:


$index_page = $this->config->item(‘index_page’);
if($index_page) $index_page .= ‘/’;

$config[‘base_url’] = base_url().$index_page.“users/index/”;

FILE:

[b]

app/admin/modules/comments/controllers/comments.php

[/b]



$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’).”/”;

same applies for groups, pages

continue reading ...

 

 

 

Author dbashyal has posted total 30 posts.
click here To post comments on the above post.
Date: 28-04-2010 05:14:41am

 

 

You may also like:

And, Around the globe:

 

 

 

 1 2 3 4 >  Last ›
 


Page rendered in 2.0779 seconds

 
Powered by: Codefight CMS | A Damodar Bashyal Creation.