In libraries/joomla/pagination/pagination.php at line 131 . It still defines
// Set the pagination iteration loop values.
$displayedPages = 10;
Can you make this class more flexible so that template developers can set their own number of pages instead of 10. It's important when creating mobile templates where you want to display only few page numbers.
I just updated to Joomla 3.4.0 and libraries/joomla/pagination/pagination.php doesnt exist anymore?
take a look at: layouts/joomla/pagination/links.php and layouts/joomla/pagination/link.php
Thanks! But ... where is the default value of 10 changed then?
in layouts/joomla/pagination/links.php I see:
// Calculate to display range of pages
$currentPage = 1;
$range = 1;
$step = 5;
I've tried changing those values but nothing seems to affect the pagination. I am using K2 but I am told that pagination uses Joomla core. Im wondering if this is still the case since the update?
The default pagination for all lists is set in the global configuration
On 11 March 2015 at 15:17, Jez notifications@github.com wrote:
I've tried changing those values but nothing seems to affect the
pagination. I am using K2 but I am told that pagination uses Joomla core.
Im wondering if this is still the case since the update?—
Reply to this email directly or view it on GitHub
#1306 (comment).
Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/
@brianteeman, I have set that value to 20 but something is over riding that and setting it to 10. I'm pretty sure I changed this here:
libraries/joomla/pagination/pagination.php
In previous version of Joomla (pre 3.4.0)
Pagination class in libraries/cms/pagination/pagination.php,
In libraries/joomla/pagination/pagination.php it was in Joomla 2.5 if I right
but not sure that it good idea to edit it
Labels |
Added:
?
|
||
Build | ⇒ | staging |
Thanks for reporting this. At this time we are only using github as the place to submit code fixes so I am closing the report here. The actual reporting of issues and testing fixes is still taking place on Joomlacode.
As it has been some time since you opened this issue can you please confirm that it is still valid with the current Master or Joomla 3.2 beta.
If it is still valid please can you open an item on the Joomlacode tracker in the appropriate area.
CMS Bug Reports: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemBrowse&tracker_id=8103
CMS Feature Requests: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemBrowse&tracker_id=8549