Contribute to JEvents

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.

Postby 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:
Code: Select all
module_mod_jevents_latest : 2.2.5
npeeters
 
Posts: 8
Joined: Tue Feb 19, 2013 9:18 pm

Postby Geraint » Thu Feb 21, 2013 9:27 am

Got it and fixed in version 3.0 now - thanks.

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!
User avatar
Geraint
 
Posts: 42854
Joined: Fri Feb 15, 2008 6:14 pm


Return to Contribute to JEvents

  • Who is online
  • View new posts
  • View unanswered posts
  • In total there are 0 users online :: 0 registered and 0 hidden (based on users active over the past 5 minutes)
  • Most users ever online was 94 on Tue Sep 01, 2009 12:33 am
  • Users browsing this forum: No registered users