To better explain, lets say I have a page where I want to fetch the 5 most recent entries for category 1, then the 5 most recent for category 2, then the 5 most recent for category 3..... So, in smarty, I have
Code: Select all
{serendipity_fetchPrintEntries limit="0,5" category="1"}
{serendipity_fetchPrintEntries limit="0,5" category="2"}
{serendipity_fetchPrintEntries limit="0,5" category="3"}
Is there any way to not include an entry if it has already been fetched or to otherwise assign some kind of priority? IE, if I fetch category 1 first, then get to category 2, and an entry has already been fetched because it is in cat 1, I do not want to list it a second time.....
Priority of some kind would be even better, because lets say an entry is assigned to categories 2 & 3... I'm fetching category 2 at that stage, but really want the entry to appear in category 3's list......
I've tried to simplify the matter using just 3 categories, but the solution (if any) needs to work with a lot more than just 3 categories (or as little as 2).