Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Pagination in CuteNews

  • 15-02-2012 06:19PM
    #1
    Registered Users, Registered Users 2 Posts: 142 ✭✭


    Hi there,

    i recently redid my layout, and i use CuteNews to update posts. this time decided to add a Pagination to the bottom of the pages. I currently use this code and it looks great, fits the layout and isn't messy:
    [PHP]<ul id="page">
    <li class="previous-off">PREVIOUS PAGE</li>
    <li class="active">1</li>
    <li><a href="?page=2">2</a></li>
    <li><a href="?page=3">3</a></li>
    <li><a href="?page=4">4</a></li>
    <li><a href="?page=5">5</a></li>
    <li><a href="?page=6">6</a></li>
    <li><a href="?page=7">7</a></li>
    <li class="next"><a href="?page=2">NEXT PAGE</a></li>
    </ul>
    [/PHP]
    But the problem i have is that it doesn't actually work! LOL! when i click 'Next Page' or any number page, it just redirects to the first page everytime. now in my template in CuteNews i have left 'News Pagination' blank, and presume that's the problem. But what exact code do i input for it to work, but also to keep my layout?

    Thanks, Nirina
    http://killer-fashion.tk/


Advertisement