eyt*
October 21, 2004

nextprev for post.html...

On the bBlog forums, someone commented on getting a nextprev-type plugin for the posts.

While perhaps not the most efficient way of doing this, one way to accomplish this is by using the max_pages variable, and adding the following code to your post.html template:

{nextprev num=1 max_pages=1}
{getrecentposts num=1 assign=posts home=true skip=$current_offset}
{if $goprev ne ''}
<a href="{$goprev}" title="Next Post">Next</a>
{/if}
{if $gonext ne ''}
<a href="{$gonext}" title="Previous Post">Previous</a>
{/if}


Posted 17 years, 10 months ago on October 21, 2004
The trackback url for this post is https://www.eyt.ca/blog/bblog/trackback.php/88/

Comments have now been turned off for this post. If you want to share something, please e-mail me.

Navigation

Recent Posts

eyt*