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.

Upcoming Events code skipping an entire month of events, even with start_on

April 29, 2010 5:59am

Subscribe [1]
  • #1 / Apr 29, 2010 5:59am

    wgmilleriiig

    6 posts

    This question may be related to a resolved thread.

    I have an upcoming events embed that pulls from a calendar weblog. When I had just a few items on it, it was showing the next events correctly. However, now that I have over 100 events on the calendar it’s somehow not showing any of the events that are happening until June 1st. The calendar has plenty of events in May, but they aren’t appearing. My code is below. I originally wasn’t using start_on, but tried it as a way to force it to the current date, but it doesn’t help. If I change to desc sort I correctly get the items from the end of the calendar. I just can’t seem to figure out why it’s not showing me any events from earlier than June 1st.

    {exp:weblog:entries weblog="calendar" limit="5" disable="categories|trackbacks|pagination|member_data" 
    dynamic="off" start_on="{current_time format='%Y-%m-%d %g:%i %A'}" show_future_entries="yes" sort="asc"}
    <li><a href="http://{title_permalink=calendar/details}">{title}</a> on {entry_date format='%M %d'} @{entry_date format='%g:%i%A'}</li>
    {/exp:weblog:entries}
  • #2 / Apr 29, 2010 7:52am

    Sue Crocker

    26054 posts

    Which version/build of ExpressionEngine 1.6.x are you using? You can find that out at the bottom of any control panel page.

    The current version of the 1.6.x branch is 1.6.9 and the build is 20100415.

    How many events are there in June? You’re limiting the number of entries to view to 5 with no pagination..

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

ExpressionEngine News!

#eecms, #events, #releases