We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15175
    • 116 Posts
    If the number of results is less then the number set via &display, then there is a hanging "1" on the page. Is there a way of removing this?

      • 26931
      • 2,314 Posts
      ...not sure, but maybe a case for PHX?
        • 15175
        • 116 Posts
        Thanks for pointing me in the right direction Sharkbait - PHx was the solution:

        <div id="ditto_pages"> [+previous+] [+phx:if=`[+totalPages+]`:is=`1`:then=``:else=`[+pages+]`+]  [+next+] </div>


        First time I’ve used it and not sure if it’s the best implementation, but it works which is the most important thing.
          • 26931
          • 2,314 Posts
          great! smiley good you’ve got it sorted & thanks for posting the solution...
            • 36549
            • 572 Posts
            Hi,

            I’ve just tried this too but i’m still getting the next and previous buttons...any ideas how i can get rid of them too?

            Thanks
              www.9thwave.co.uk
                 WEB | DESIGN | PRINT