Quote Originally Posted by dw08gm View Post
...I am wondering if its not too much to ask whether you could look into this:

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. ...
Done...

in:
----includes/languages/english/extra_definitions/your_template/events_calendar_include_defines.php
added a define:
Code:
// when query returns only 1 event, jump over the event list (false=always show list on single day click)
define(EVENTS_SINGLE_JUMP, true);
in:
----includes/templates/your_template/templates/tpl_events_calendar_default.php
(around line 35) easier to just go ahead and replace everything inside of the if statement (in green):
Code:
    $month_= $month;
    $year_= $year;
}
if($_GET['_day'])
{
    $_day=$_GET['_day'];$_month=$_GET['_month'];$_year=$_GET['_year'];
    $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(EVENTS_SINGLE_JUMP && $ev->RecordCount() == 1) {
        $single_event = true;
        $select_event = $ev->fields['event_id'];
        $_GET['select_event']=$select_event;
    }
}?>
<div class="centerColumn">
  <h1 class="center"><?php echo HEADING_TITLE ?></h1>


That should do it,
Rus