fetchprintentries fetchDrafts does not work

Discussion corner for Developers of Serendipity.
Post Reply
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

fetchprintentries fetchDrafts does not work

Post 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...
=Don=
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Simple values shouldn't require quotes in Smarty. Anything not plain alphanumeric requires quotes.
Judebert
---
Website | Wishlist | PayPal
Post Reply