Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Shannon 148 posts 171 karma points
    Jul 12, 2010 @ 17:58
    Shannon
    0

    Creating blog paging with blog4umbraco

    Is there a way to , if it's not available now, to create limits on the blog page to 15-20 posts and create "Page 2" with 21-40, and 41-60, etc

  • Lee 1123 posts 3059 karma points
    Jul 13, 2010 @ 07:52
    Lee
    0

    You can easily do this with XSLT, have a look at this package it has all the code you need

    http://our.umbraco.org/projects/developer-tools/paging-xslt

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jul 13, 2010 @ 08:09
    Tim Geyssens
    0

    @Shannon, by default the number of post on a page is set to 10, if you want to change that you'll simply need to update the BlogListPosts.xslt and set a different value for the numberOfPosts variable

    <xsl:variable name="numberOfPosts" select="10"/>
  • Shannon 148 posts 171 karma points
    Jul 13, 2010 @ 08:36
    Shannon
    0

    @Tim. Cool, can you insert anything inbetween the posts, like space or ads or anything like that?

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jul 13, 2010 @ 09:25
    Tim Geyssens
    0

    Well the post overview get's outputted by the BlogListPosts.xslt , so you have full control over that if you want to change/add anything to the output.

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies