Viewing 1 replies (of 1 total)
  • I tried to add some simple code to show which days have events, but it won’t accept the code, do you know why?

    ——–
    $cadena = ‘var $highlights = [’04/30/2010′, ’05/01/2010′];’;
    ——–
    ,beforeShowDay: highlightDays

    ——–
    public function highlightDays($highlights)
    {
    $cadena = ‘for (var i = 0; i < dates.length; i++) {‘;
    $cadena = ‘if (new Date(dates[i]).toString() == date.toString()) {‘;
    $cadena = ‘return [true, ‘highlight’]’;
    }
    return $cadena;
    }

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: DH Events Calendar] Works Fine !!’ is closed to new replies.