+ Reply to Thread
Results 1 to 3 of 3

Thread: Question about pagination on my-favorites.html

  1. #1
    Junior Member
    Join Date
    Sep 2020
    Location
    Nizhny Novgorod, Russia
    Posts
    28

    Question about pagination on my-favorites.html

    On the page: my-favorites.html 3 sites are added. When paginated, it displays the number of pages: 41.

    I decided to look what he gives in the template.
    rlSmarty.class.php

    PHP Code:
    Only registered members can view the code
    pagination.png

    Can certainly go ahead and see where $calc comes from, but there may be a simpler solution?

    Three sites, this is the first page. There are no further pages. It makes no sense to show a pogination.

    What should I fix, where to look?
    Last edited by Eugeniy; October 13, 2020 at 07:22 AM.

  2. #2
    Master
    Join Date
    Oct 2019
    Location
    Hungary
    Posts
    403
    Quote Originally Posted by Eugeniy View Post
    On the page: my-favorites.html 3 sites are added. When paginated, it displays the number of pages: 41.

    I decided to look what he gives in the template.
    rlSmarty.class.php

    PHP Code:
    Only registered members can view the code
    Attachment 3890

    Can certainly go ahead and see where $calc comes from, but there may be a simpler solution?

    Three sites, this is the first page. There are no further pages. It makes no sense to show a pogination.

    What should I fix, where to look?
    I had this problem too. Here's the solution

    https://forum.flynax.com/showthread....ll=1#post30992

  3. #3
    Junior Member
    Join Date
    Sep 2020
    Location
    Nizhny Novgorod, Russia
    Posts
    28
    Thanks! This works great. The issue has been resolved.

+ Reply to Thread