Override pagination core component

  • Hi,

    I would like to change the static pagination to a ten increment.
    I looked in the ./partials/paginator.tpl for my first attempt, but the problem lies in the data of the paging object itself.
    Do you know a solution to override nodebb/src/pagination.js, other than create a complete helper function in my custom theme to replace the whole logic ?

  • Global Moderator

    What do you mean change it to a ten increment? Do you mean you only want 10 posts per page? This is a configurable option on the user settings.

  • @PitaJ An example it's better :

    for a current page 21 of 40 pages, i want to display :

    << < 10 - 20 - 21 - 30 - 40 > >>

Suggested Topics

| |