This module only shows the oldest content from past to future, and doesn't show the newest content. I doubt this is by design; to correct this, open content_slider.module and change line 173 from this:

    $sql  = " SELECT n.changed, n.nid, teaser FROM {node} n INNER JOIN {node_revisions} r ON n.nid=r.nid "." WHERE n.status=1 AND n.type='$content_type' ORDER BY n.changed DESC LIMIT 5";

to this:

    $sql  = " SELECT n.changed, n.nid, teaser FROM {node} n INNER JOIN {node_revisions} r ON n.nid=r.nid "." WHERE n.status=1 AND n.type='$content_type' ORDER BY n.changed DESC LIMIT 5";

Comments

SpriteGF’s picture

Apologies, I meant, change this line (here's the original):

    $sql  = " SELECT n.nid, teaser FROM {node} n INNER JOIN {node_revisions} r ON n.nid=r.nid "." WHERE n.status=1 AND n.type='$content_type' LIMIT 5";
sudeepg’s picture

Status: Active » Closed (fixed)

Fixed in the latest release.

Thanks,
Sudeep Goyal