Here is the problem: I have been informed by 2 sites that content normally displayed on the frontpage as {$entry.body} was not working. These sites had 2 things in common: They had a fresh install of s9y, and my template, and had never set the option to cache entries using this plugin to "yes/true".
On those sites, when I look at the contents of the $entry array, I see missing fields:
Code: Select all
properties => Array (5)
ep_cache_body => "whatever.."
body => "whatever ..."
is_cached => trueNow, if I DISABLE caching in the plugin on my sandbox, $entry.body (and everything else listed above) no longer exists.. and I encounter the same problem as these other sites. If I re-enable caching, the problem disappears.
HOWEVER, on these other sites, I cannot get $entry.body regardless of whether or not caching is enabled... all I know for sure is that caching has never been enabled on those sites.
The entries.tpl used for this is not radically different from anything else, and exists in nested loops as follows:
Code: Select all
{foreach from=$entries item="dategroup" name="dategroup_loop"}
{foreach from=$dategroup.entries item="entry" name="entry_loop"}Code: Select all
{serendipity_fetchPrintEntries limit="0,5" noCache="false" fetchDrafts=false full="false" use_footer="false" template="myentries.tpl"}Any clues? I know caching entries via this plugin had led to numerous problems, but I really need a solution to this!