1. indigo
  2. JEvents 1.5 Bugs
  3. Thursday, 27 March 2008
(JEvents 1.5alpha)

I don't think i've seen this one posted yet. (I certainly didn't notice it for a while).

When using mod_events_cal module and specifying the layout to be Geraint I've noticed that when you navigate forwards or backwards in months (using the 'next month' or 'previous month' handles at the top of the calendar) the 15th of the month takes on the 'style' of 'today'. A quick look at the CSS file and it looks like each rendering of the calendar is setting 'today' as the 15th of the month. If this has no events it triggers the .mod_events_td_todaynoevents style and if it has events it calls the .mod_events_td_todaywithevents style. I have 'border:solid 1px red;' set in each of these styles as I want the real today highlighted with a red box around it.

I haven't been able to track down where the 'today' is being set in the php files. Any ideas?

Indy
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
This is also true of the default layout.

The problem is when moving months in this calender is that there is no "today" since we are in a different month. If we use the same day of the month what happens on the 29th, 30th and 31st of the month?

Is there a strong consensus that we should not highlight any days in a non-current month in the mini-calendar?

If so then I can add an extra test for this.

Geraint
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!
  1. more than a month ago
  2. JEvents 1.5 Bugs
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hmm - thought as much.

I don't know about 'a consensus' but here's my two-pennies worth.
I think it would make sense if we didnt set a 'Today' if the month (and year) is not the current month. The reason is that its often useful to highlight the current date (and not so useful to highlight the 15th of the month every month - your birthday isnt on the 15th is it Geraint?).
  1. more than a month ago
  2. JEvents 1.5 Bugs
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Now fixed.
  1. more than a month ago
  2. JEvents 1.5 Bugs
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.