Rus
Happy to wait for further improvements.
I am wondering if its not too much to ask whether you could look into this:
I suspect the solution lies in tpl_events_calendar_default and will look something like:When a particular calendar date has only one event, clicking that date in calendar will take you directly to that event, rather than to the event list for that date.
tied with this:Code:if($ev->RecordCount() > 1){ show all events for date } else { show single event }
but so far I have been unable to get my head around what needs to be done.Code:if($_GET['_day']) { $ev = $db->Execute("select event_id from ".TABLE_EVENTS_CALENDAR." where DAYOFMONTH(start_date)= '" . $_day . "' and MONTH(start_date) = '" . $_month . "' and YEAR(start_date) = '" . $_year . "' AND language_id = '" . $_SESSION['languages_id'] . "'"); if($ev->RecordCount() > 0) { $single_event = true; $select_event = $ev->fields['event_id']; } }
Cheers



