show_pages param overrides the entry_id param |
|||
|---|---|---|---|
| Date: | 07/15/2008 | Severity: | Trivial |
| Status: | Resolved | Reporter: | Robin Sowell |
| Version: | EE 1.6.4 | Assigned To: | Not Assigned |
| Keywords: | Modules, Weblog | ||
Details
http://expressionengine.com/forums/viewthread/83627/
Basically it looks like show_pages param overrides the entry_id param:
{exp:weblog:entries show_pages="no" entry_id="not 184"}
<li>{entry_id} <a >{title}</a></li>
{/exp:weblog:entries}
W/show_pages=“no” id 184 shows up, w/out it, it doesn’t. 184 is not a ‘page’. Verified on 1.6.4. Think it’s the
/** ----------------------------------------------
/** Only Entries with Pages
/** ----------------------------------------------*/
if ($TMPL->fetch_param('show_pages') !== FALSE && in_array($TMPL->fetch_param('show_pages'), array('only', 'no')) && ($pages = $PREFS->ini('site_pages')) !== FALSE)
{
$entry_id = (($TMPL->fetch_param('show_pages') == 'no') ? 'not ' : '').implode('|', array_flip($pages['uris']));
}
