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

Pagination in CuteNews

Options
  • 15-02-2012 6:19pm
    #1
    Registered Users 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