Webnerdoz
Webnerdoz

Reputation: 165

Set the number of blog posts - Codeigniter

Sorry guys this question may seem to be very basic. My CodeIgniter guy is not available and I couldn't find the answer online. I need to change the number of blog posts on the main blog reader page (the page that shows a small portion of the posts) to 10 or 12. atm I get only two 2 posts per page. As far as I remember I have to tweak things on site_configs.php file under config directory (maybe I am wrong I am not sure) Atm here is the settings:

$config['adm_perpage'] = 30;
$config['comment_perpage'] = 20;
$config['message_perpage'] = 50;
$config['home_perpage'] = 12;
$config ['feedper_page'] = 20;

Let me know if anything is unclear

Appreciate your help

Upvotes: 0

Views: 64

Answers (1)

jmadsen
jmadsen

Reputation: 3675

This is specific to the code he wrote for you - you won't find the answer here unless you start posting half your codebase, and I doubt anyone will care to wade through that.

Best just wait till he's back

Upvotes: 1

Related Questions