Recent Topics

[1.10.x] Simple Query of last 3 entries in a particular blog

Started by on Mar 01, 2008 – Contents updated: Mar 01, 2008

Mar 01, 2008 07:55    

My b2evolution Version: 1.10.x

I am wanting to list the last 3 entries in a particular blog on the front page of my site.

I have scanned the database scheme and can't figure out how a post is tied to a particular blog.

Any help would be greatly appreciated.

Mike

Mar 01, 2008 16:04

Posts are actually associated with a main category (and optionally sub-categories) which in turn are associated with a blog. Multiblogs.php (in the root level folder) ties multiple blogs into one page, as does summary.php so you might find some inspiration in one of those two files?


Form is loading...

b2evolution CMS – This forum is powered by b2evolution CMS, a complete engine for your website.