[EventCalendar] re: not all future events appearing with
ec3_get_events
ejm
cq547 at torfree.net
Sat Aug 4 16:00:42 UTC 2007
Running WP2.0.10 and EventCalendar3.1.0
Excuse me for replying once again to myself. I have received zero
replies from anyone in the wordpress forum.
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.
-E Morris
On Fri Jul 27 17:16:37 UTC 2007, ejm wrote:
>I took a further look through the archives and see that this problem
>may be due to something in the global blog settings - options-reading.
>(Thank you, Mark Naylor)
>
>I am also running WP Custom Query String 2.7 and have put -1 into the
>events category. Now all of the future events are showing when the
>sidebar link to the events category is chosen. But 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. Any idea how I override the
>global setting so that all future events will show with
>ec3_get_events(-1)?
These are the posts to which I am replying:
http://penguin.firetree.net/pipermail/eventcalendar/2007-July/002184.html
http://penguin.firetree.net/pipermail/eventcalendar/2007-July/002203.html
More information about the EventCalendar
mailing list