Forum Discussion

Warren_Brill's avatar
11 years ago

Numbered Pagination for Blogs

Numbered pagination is available on discussion boards in the core product, but for some reason, not on blogs. I surfaced this issue as a Product Idea a year ago, and at this point it is in "uncommitted candidate" status. Has anyone implemented numbered pagination on blogs, and if so, did it work the same as it would on discussion boards? (This would be the ask)

  • PaoloT's avatar
    PaoloT
    Lithium Alumni (Retired)

    Hi Warren_Brill 

     

    custom pagination is quite a trendy topic on the Developer Network forum. I suggest you to check out these threads which hav excellent code samples too:

     

     

    These should get you started. The only difference here is that in your case you may want to re-use the standard blog components instead of the custom ones. In that case, you may want to look instead at the URL parameters to get out the page numbers, and load the setting from admin to get the amount of articles to show for each page.

     

    Hope it helps!

    • I've reviewed the suggestions, but what I'm left with is this: I am not looking to deploy custom pagination! I only want the standard pagination that is part of the Lithium platform. My blog pages use the "default" page quilt, which doesn't sound very customized to me.

      • PaoloT's avatar
        PaoloT
        Lithium Alumni (Retired)

        Hi Warren_Brill ,

         

        apologies if I misunderstood your request. You asked about wheter someone had implemented this and, being on the "Developers Discussion" forum, I assumed you were looking for leads on how to build this as a customization.

         

        If you think this should be part of the core product offering - I suggest following up on the idea that you originally posted to see wheter there are updates on that front.

         

        Kind Regards,