ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Popular entries, limiting to specific time period

July 09, 2009 1:56pm

Subscribe [2]
  • #1 / Jul 09, 2009 1:56pm

    wspub

    21 posts

    Is it possible to limit the view_tracking results to say….the current month without using the Query Module?

    This works, but over time, it can become inaccurate.

    <ul>{exp:weblog:entries weblog="{my_weblog}" limit="5" dynamic="off" orderby="view_count_one"} <li><a href="/entry/{entry_id}/{url_title}/">{title}</a></li>{/exp:weblog:entries}
    </ul>

    Adding the following blows away my initial limit of “5”

    display_by="month" limit="1"

    Thanks!

  • #2 / Jul 09, 2009 3:27pm

    Ingmar

    29245 posts

    Is it possible to limit the view_tracking results to say….the current month without using the Query Module?

    No, I don’t think so. This would clearly be a case for the query module.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases