2011-11-09, 04:18:19
These issues are fixed in my patch provided in forum post: http://get-simple.info/forum/post/19489/#p19489
Quote:This ended up not solving the issue that is fixed in patch.
- Event is saved 1 day prior to actual date selected (could this be a 0 index bug in days array?)
Quote:In order to get the calendar dates to line up correctly with days of month I needed to change the day counter variable initialized value to 0. Line 139 calendar.php:Fixed in patch
Code:$day_counter = 0;
Quote:Fixed in patch
- Selecting a link from calendar the path appears to be correct (e.g. http://mysite.com/index.php?id=events&mo...11&day=10) However, the actual day selected was 11. The rendered page does not display the event list regardless of adjusting the url argument to 11
Quote:The addition of echo events_list() above fixed the rendering issue. I have not yet fixed that actual date that is linked to event in calendar yet. The calendar component is still linking one day off (e.g. 10th when it should be 11th).Fixed in patch
Quote:Day counter returned to 0 in patch
- Placing <?php echo events_list() ?> in the sidebar renders the event list. Clicking on event results in correct path, however day is incorrect due to day off by 1 bug
Quote:This was fixed by initializing the day_counter variable to 0.
"A process cannot be understood by stopping it. Understanding must move with the flow of the process, must join it and flow with it." __Paul Atreides