Feature request: serendipity_fetchPrintEntries skip option
Posted: Fri Jun 27, 2008 12:10 pm
More sophisticated templates usually use serendipity_fetchPrintEntries to display articles from one or more specific categories in distinct parts of the content area (i.e. Mimbo).
There's one small problem with this technique right now: If one, for example, uses this method to fetch articles from one category (i.e. "Features") to display them in the top area of the content, and uses {$CONTENT} to display the rest of the articles below, articles from the selected category will still show up below, which sometimes just isn't desirable.
So I was wondering whether it would be possible to add a "skip" option to serendipity_fetchPrintEntries which will fetch articles from all categories but the one(s) selected in "skip=cat1;cat2;" or something similar? If that was possible, tempate designer could use it instead of {$CONTENT} in the example given above.
YL
There's one small problem with this technique right now: If one, for example, uses this method to fetch articles from one category (i.e. "Features") to display them in the top area of the content, and uses {$CONTENT} to display the rest of the articles below, articles from the selected category will still show up below, which sometimes just isn't desirable.
So I was wondering whether it would be possible to add a "skip" option to serendipity_fetchPrintEntries which will fetch articles from all categories but the one(s) selected in "skip=cat1;cat2;" or something similar? If that was possible, tempate designer could use it instead of {$CONTENT} in the example given above.
YL