• Resolved ejm

    (@llizard)


    Running WP2.0.10, EventCalendar3.1.0, Custom Query String 2.7

    I hope that the fact that I have not yet upgraded to WP2.1 will not stop people from answering my query.

    The calendar showing two months is on the right sidebar of the page. It appears to be working correctly. To show a list of upcoming events, I have the following coding on a leftsidebar

    <?php ec3_get_events(-1,' <a href="%LINK%" title="%DATE% - %TITLE%"><b>%DATE%</b><span style="display:none">:</span> %TITLE%</a>',''); ?>

    But the resulting list only shows 5 events instead of continuing to include all upcoming scheduled events.

    I have asked about this on the Event Calendar forum and have been referred back here as it may be due to something in the global blog settings – options-reading.

    With Custom Query String 2.7, I have put -1 into the
    events category. All of the future events are showing when the sidebar link to the events category is chosen. However, the list generated by

    <?php  ec3_get_events(-1,' <a href="%LINK%" title="%DATE% -
    %TITLE%"><b>%DATE%</b><span style="display:none">:</span>
    %TITLE%</a>',''); ?>

    is STILL showing only 5 future events instead of all of them. Any idea how I override the global setting so that all future events will show with ec3_get_events(-1)?

    Thank you for shedding light on this.

    -ejm (peacemakers.ca.etherwork.net/bulletins/)

    P.S. To prevent undue robot activity, please refrain from adding http
    to the wordpress address in subsequent replies. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ejm

    (@llizard)

    Excuse me for replying to myself. I keep coming in here to see if someone has replied and find that the thread has been changed from “not resolved” to “this is not a support question”

    I probably misworded the subject heading. Apparently this is NOT something that can be resolved by the event calendar plugin. The forumites there say it is a wordpress issue.

    I am not well versed in PHP and am only guessing that it might be something I can solve with Custom Query String and/or Options – reading.

    Once again, thank you for any response.

    Thread Starter ejm

    (@llizard)

    Excuse me for replying once again to myself. But others who have not yet graduated from WP2.0.10 and EC3.1.0 may be interested to hear that I have blundered onto a solution – not the most elegant, probably, but it appears to work. Instead of using [-1] in the first section of the
    part in parentheses for ec3_get_events, I have switched to [‘500 days’]. At last all the future events are showing.

    <?php ec3_get_events('500 days',' <a href="%LINK%" title="%DATE% - %TITLE%"><b>%DATE%</b><span style="display:none">:</span> %TITLE%</a>',''); ?>

    Of course, I would be thrilled if someone could tell me what code to use to instruct ec3_get_events to show ALL future events.

    Thank you.

    —-
    Running WP2.0.10, EventCalendar3.1.0, Custom Query String 2.7

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘EventCalendar ec3_get_events(-1) not showing all future events’ is closed to new replies.