Section blog don't show all active articles - j 1.5.25

This forum is for reporting bugs in Joomla!. Please don't report problems with extensions in here.
Locked
dido76bg
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sun Mar 06, 2011 10:52 pm

Section blog don't show all active articles - j 1.5.25

Post by dido76bg » Tue Feb 07, 2012 3:25 am

The problem is that when you select section blog for menu item, than you cannot see all active articles.
For example the default Section blog in Example pages the total number of articles is 22 /echo $this->total/, but when listed you can see only 14.
The question is where are the other 8 items?
The answer - in components->com_content->sections->view->view.html.php /it is in j1.5.15/
Solution - in j1.5.25 add or replace line 107
original is
$pagination = new JPagination($total, $limitstart, $limit );
with
$pagination = new JPagination($total, $limitstart, $limit - $links);
SOLVED!!!

User avatar
JohnDevise
Joomla! Apprentice
Joomla! Apprentice
Posts: 41
Joined: Mon Sep 24, 2012 9:34 am
Location: USA
Contact:

Re: Section blog don't show all active articles - j 1.5.25

Post by JohnDevise » Thu Oct 18, 2012 11:21 am

Hi all .
dido76bg you are right . It's a simple and quick solution for this problem . Thanks for sharing .


Locked

Return to “Joomla! 1.5 Bug Reporting”