?
avatar ghost
ghost
20 Jun 2013

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.

avatar ghost ghost - open - 20 Jun 2013
avatar brianteeman
brianteeman - comment - 13 Oct 2013

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

avatar brianteeman brianteeman - close - 13 Oct 2013
avatar zero-24 zero-24 - close - 13 Oct 2013
avatar jcutter
jcutter - comment - 11 Mar 2015

I just updated to Joomla 3.4.0 and libraries/joomla/pagination/pagination.php doesnt exist anymore?

avatar dgt41
dgt41 - comment - 11 Mar 2015

take a look at: layouts/joomla/pagination/links.php and layouts/joomla/pagination/link.php

avatar jcutter
jcutter - comment - 11 Mar 2015

Thanks! But ... where is the default value of 10 changed then?

avatar dgt41
dgt41 - comment - 11 Mar 2015

in layouts/joomla/pagination/links.php I see:

// Calculate to display range of pages
$currentPage = 1;
$range = 1;
$step = 5;
avatar jcutter
jcutter - comment - 11 Mar 2015

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?

avatar brianteeman
brianteeman - comment - 11 Mar 2015

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/

avatar jcutter
jcutter - comment - 11 Mar 2015

@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)

avatar Fedik
Fedik - comment - 11 Mar 2015

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 :smile:

avatar jcutter
jcutter - comment - 11 Mar 2015

Awesome @Fedik, thanks!

avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?
Build staging

Add a Comment

Login with GitHub to post a comment