Problem in Latest JEvents modules
We are looking for developers, forum moderators and translators for this project.
If you would like to help out then please add a message in this forum.
If you would like to help out then please add a message in this forum.
Problem in Latest JEvents modules
by npeeters » Wed Feb 20, 2013 8:56 pm
There is a problem with multi-day events in Latest JEvents showing up multiple times, even if 'multi day event display' is set to 'only once'.
This problem occurs when start date is the same day of month as the end date. So start date = Jan. 1, 2013 and end date = Feb. 1, 2013 will produce the error.
I've tracked down the problem to the 'latest.php' file in the module (folder default for correct line numbers). A check is made if DAYOFMONTH is the same for start and end (and the check thinks it is not multi-day). I've added a check on month and year (so same dayofmonth but different month or year is different).
Details and solution in this post http://www.jevents.net/forum/viewtopic.php?f=29&t=17785.
Version info:
This problem occurs when start date is the same day of month as the end date. So start date = Jan. 1, 2013 and end date = Feb. 1, 2013 will produce the error.
I've tracked down the problem to the 'latest.php' file in the module (folder default for correct line numbers). A check is made if DAYOFMONTH is the same for start and end (and the check thinks it is not multi-day). I've added a check on month and year (so same dayofmonth but different month or year is different).
Details and solution in this post http://www.jevents.net/forum/viewtopic.php?f=29&t=17785.
Version info:
- Code: Select all
module_mod_jevents_latest : 2.2.5
- npeeters
- Posts: 8
- Joined: Tue Feb 19, 2013 9:18 pm
Re: Problem in Latest JEvents modules
by Geraint » Thu Feb 21, 2013 9:27 am
Got it and fixed in version 3.0 now - thanks.
Keep up the good detective work
Keep up the good detective work
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
-

Geraint - Posts: 30518
- Joined: Fri Feb 15, 2008 6:14 pm
2 posts
• Page 1 of 1
Return to Contribute to JEvents
Who is online
Users browsing this forum: No registered users

