Thursday, 02 July 2015
  6 Replies
  2.3K Visits
0
Votes
Undo
On a fresh Joomla 3.4.1 install running on default Protostar template:

Fresh, default JEvents 3.1.47 install shows white tooltip title text (FGCOLOUR) when the category is set for a dark colour (BGCOLOUR).

If I install a JEvents 3.2.19 instead (no other version installed previously), and set the category to a dark colour, the title text colour remains [u:2jastjmq]dark[/u:2jastjmq].

If I install JEvents 3.1.47, set the category to a dark colour, and then upgrade JEvents to 3.2.19, that category remains with [u:2jastjmq]white[/u:2jastjmq] tooltip title.

If I install JEvents 3.1.47, upgrade it to 3.2.19, and then set the category to a dark colour, that category remains with [u:2jastjmq]dark[/u:2jastjmq] tooltip title.
Friday, 03 July 2015 14:34
·
#151909
0
Votes
Undo
Sounds as though you may have some browser CSS caching issues? Did you make sure you cleared your cache after your upgrade?

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!

Monday, 06 July 2015 11:26
·
#151910
0
Votes
Undo
Yes, not only I've cleared the browser's cache but also restarted Apache.
Monday, 06 July 2015 14:58
·
#151911
0
Votes
Undo
I think we've found what is happening.

Until version 4.1.47 a limited number of colours were available for categories, which allowed for a correspondence table on /administrator/components/com_jevents/libraries/colorMap.php, where dark backgrounds led to white text and bright backgrounds led to black text.

From 4.2.x on we can choose category colours more freely, which is good, but jeopardizes that mapping.
Tuesday, 07 July 2015 12:20
·
#151912
0
Votes
Undo
These are our two cents.

We've edited administrator/components/com_events/library/colorMap.php so it checks background colour and sets title text colour accordingly.

Thanks for this great extension, Geraint
Tuesday, 07 July 2015 13:32
·
#151913
0
Votes
Undo
JEvents 3.4.0 (see https://www.jevents.net/download-area/jevents) has a new method of calculating a constrasting foreground colour built in.

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!

Tuesday, 07 July 2015 14:02
·
#151914
0
Votes
Undo
Good news, thank you!
  • Page :
  • 1
There are no replies made for this post yet.

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.