Hey, I’m using 1.6.4 but I was getting a 404 in list view. So I changed the code below and turned pretty urls off.
two lines on \views\datepicker.php
———- 1 ————————–
$link .= ‘&eventDisplay=month&eventDate=’;
change to >>>>
$link .= ‘?eventDate=’;
———- 2 ————————–
location.href = ‘<?php echo $link; ?>’ + jQuery(‘#<?php echo $prefix; ?>events-year’).val() + ‘-‘ + jQuery(‘#<?php echo $prefix; ?>events-month’).val();
change to >>>>
location.href = ‘<?php echo $link; ?>’ + jQuery(‘#<?php echo $prefix; ?>events-year’).val() + ‘-‘ + jQuery(‘#<?php echo $prefix; ?>events-month’).val() + ‘&eventDisplay=month’;
which solved the list view problem, but now when I change months it stays on January grid view and will not change. Could it be an issue with my date format in General Settings? The site is currently hosted on a shared domain.
https://shared.transcends.net/~samesan/category/events?eventDate=2011-02&eventDisplay=month
Any help would be appreciated.