Page 1 of 1

fetchPrintEntries vs. protected categories

Posted: Thu Feb 26, 2009 2:11 pm
by yellowled
Let's assume I'm building a site with s9y which uses "protected" categories which can only be read by users which are logged in.

If I wanted to use serendipity_fetchPrintEntries to pull articles from a "protected" category in order to use a seperate .tpl file (template="foobar.tpl") to display those, would category restrictions still work?

YL

Re: fetchPrintEntries vs. protected categories

Posted: Thu Feb 26, 2009 3:13 pm
by garvinhicking
Hi!

Yes, those category restrictions would still work. Even if you supply the category id, it only shows articles that the currently logged in user is allowed to read.

Regards,
Garvin