Forums / Cotonti / Support / Pagination Increments

Changing the default pagination intervals in articles section.

Trustmaster
#12786 2009-05-23 12:14
As Elgan noticed
$i *= ($n % 2) ? 2 : 5;
in function sed_pagination() in system/function.php is responsible for that.

It sets multipliers for numbers. If you replace it with, e.g.
$i *= ($n % 2) ? 4 : 3;
The buttons will go like [1][3][12][36][144]
May the Source be with you!