We've created a new Content Type called "Announcements". Showing ticker items by type works great. However when we pass the date an announcement is for an unpublish the page it still shows in the ticker.

Comments

werfu’s picture

Category: support » bug

To fix Type filtering, change line 200 of ticketyboo.module to check for the status to be published :

$r = db_query("SELECT DISTINCT nid FROM {node} WHERE type ='%s' AND status = 1", trim($nodes));

To fix Taxonomy filtering, change line 205 of ticketyboo.module to check for the status to be published (untested) :
$r = db_query("SELECT DISTINCT t.nid FROM {term_node} t, {node} n WHERE t.tid in (%s) AND t.nid = n.nid AND n.status = 1", $nodes);

rkodrupal’s picture

I select items to display using Node and find it quite convenient that Unpublished items are listed. Allows me to fine-tune the display while I'm still working on a number of yet-to-be-published nodes.

For the node selection, at least, please continue to display unpublished nodes. Users can always just not include them in the selection.