ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

control of pagination links?

July 12, 2012 8:55am

Subscribe [4]
  • #1 / Jul 12, 2012 8:55am

    outline4

    271 posts

    hi,

    is it possible to control how many links “{pagination_links}” shows? 

    the default setting only shows 5 pages…
    this is unusable if you have a lot of pages…

    « First <  11 12 13 14 15 >  Last »

    is there a way to show like “30” pages?

    « First <  11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 >  Last »

    cheers
    stefan

  • #2 / Jul 12, 2012 9:26am

    Boyink!

    5011 posts

    Looking at the docs for pagination I don’t see anyway to do that:
    http://ellislab.com/expressionengine/user-guide/modules/channel/pagination_page.html

    Best to log a feature request.

  • #3 / Jul 13, 2012 5:35pm

    Shane Eckert

    7174 posts

    Hey outline4,

    This is a common one and a Feature Request is welcomed!

    Is there anything else I can help you with?

    Cheers,

  • #4 / Jul 16, 2012 11:19am

    codeM

    51 posts

    While not recommended, you can always modify the CI Pagination class and set the following :

    from

    var $num_links   =  2;

    to

    var $num_links   =  20;

    again not recommended, but may work until feature gets coded.

    ttyl

  • #5 / Jul 17, 2012 1:29pm

    Shane Eckert

    7174 posts

    Hey codeM,

    Thanks for the input! Though not recommended, sometimes you gotta do what it takes to get the job done.

    If y’all need anything else, please let me know by opening a new thread.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases