Posted February 12, 201015 yr Administrators If you notice on the main blog page it only shows 2 blog entries. I can't for the life of me find the setting to change. I want at least 5 entries. There is a setting for default amount of posts to show on the blog page, but, it seems to affect only member blogs and not the main blog index. Anyone know how to get the page to show more than 2 blog posts?
February 12, 201015 yr IPS Staff The query grabs featured items, etc and then one entry from each active blog. So, in your case, it'll only show two articles as you only have one blog.
February 12, 201015 yr IPS Staff If you look in admin/applications_addon/ips/blog/modules_public/display/list.php Function _showDash() Change /* Normal */ if ( count( $this->caches['blog_stats']['fp_entries'] ) ) { $this->DB->build( array( 'select' => 'e.*', 'from' => array( 'blog_entries' => 'e' ), 'where' => 'e.entry_id IN(' . implode( ',', array_keys( $this->caches['blog_stats']['fp_entries'] ) ) . ')' . $whereExtra, 'order' => 'e.entry_date DESC', 'limit' => array( 0, 20 ), 'add_join' => array(array( 'select' => 'b.*', 'from' => array( 'blog_blogs' => 'b' ), 'where' => 'b.blog_id=e.blog_id', 'type' => 'left' ), array( 'select' => 'bl.*', 'from' => array( 'blog_lastinfo' =>'bl' ), 'where' => 'b.blog_id=bl.blog_id', 'type' => 'left' ), array( 'select' => 'm.*', 'from' => array( 'members' => 'm' ), 'where' => 'm.member_id=e.entry_author_id', 'type' => 'left' ), array( 'select' => 'pp.*', 'from' => array( 'profile_portal' => 'pp' ), 'where' => 'pp.pp_member_id=m.member_id', 'type' => 'left' ) ) ) ); To /* Normal */ if ( count( $this->caches['blog_stats']['recent_entries'] ) ) { $this->DB->build( array( 'select' => 'e.*', 'from' => array( 'blog_entries' => 'e' ), 'where' => 'e.entry_id IN(' . implode( ',', array_keys( $this->caches['blog_stats']['recent_entries'] ) ) . ')' . $whereExtra, 'order' => 'e.entry_date DESC', 'limit' => array( 0, 20 ), 'add_join' => array(array( 'select' => 'b.*', 'from' => array( 'blog_blogs' => 'b' ), 'where' => 'b.blog_id=e.blog_id', 'type' => 'left' ), array( 'select' => 'bl.*', 'from' => array( 'blog_lastinfo' =>'bl' ), 'where' => 'b.blog_id=bl.blog_id', 'type' => 'left' ), array( 'select' => 'm.*', 'from' => array( 'members' => 'm' ), 'where' => 'm.member_id=e.entry_author_id', 'type' => 'left' ), array( 'select' => 'pp.*', 'from' => array( 'profile_portal' => 'pp' ), 'where' => 'pp.pp_member_id=m.member_id', 'type' => 'left' ) ) ) );
February 13, 201015 yr Author Administrators I did the edit and it didn't change the count. I think I'm going to leave it as it is. I'll be adding more articles in the blog and I'm going to categorize it by title so I'll be creating more blogs. That is if I don't decide to do with Invision Community Pages. So many ideas, so little time in a day.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.