Page 1 of 1

fetchprintentries fetchDrafts does not work

Posted: Tue Jun 03, 2008 6:06 pm
by Don Chambers
I have a template that I have been working on for awhile.... I am fetching entries for a specific category like this (simplified for this example):

Code: Select all

serendipity_fetchPrintEntries limit="0,10" category="5" noCache="false" fetchDrafts="false" full="false" use_footer="false"
It is still fetching drafts.... ideas?

EDIT: Wait a second..... which of these options require quotes and which do not? I think it works if it is not in quotes, but I can recall other of the fetchPrintEntries needing to be within quotes... at least, I think so...

Posted: Tue Jun 03, 2008 6:31 pm
by judebert
Simple values shouldn't require quotes in Smarty. Anything not plain alphanumeric requires quotes.