How can i see all the current events in a specific year or range of days?
Example: in this link bellow i can see all in a specific month:
/mod/event_calendar/show_events.php?mode=month&start_date=2011-6-1&view=rss
There's a way to put in URL values like:
mode=year
or
start_date=2011-6-1&end_date=2011-12-1
?
Thanks for the upcoming suggestions. ;)
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Kevin Jardine@kevin
Kevin Jardine - 0 likes
- luizzz@luizzz
luizzz - 0 likes
You must log in to post replies.The event calendar is organised by month by default.
There are some other views available. Please read the documentation in README.txt and CHANGES.txt for what is possible.
Thanks!
I've created a condition to display the "mode=year" in the file "show_events.php".
Like this:
(...)
} else if ($mode == "year") {
$start_ts = strtotime($original_start_date);
$month = date('m',$start_ts);
$year = date('Y',$start_ts);
$start_date = $year.'-'.$month.'-1';
$end_date = ($year+1).'-'.$month.'-'.getLastDayOfMonth($month,($year+1));
}
(...)
...and it fits my needs. :D