By cbahiana on Thursday, 02 July 2015
Replies 6
Likes 0
Views 2.3K
Votes 0
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.
Sounds as though you may have some browser CSS caching issues? Did you make sure you cleared your cache after your upgrade?
·
Friday, 03 July 2015 14:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, not only I've cleared the browser's cache but also restarted Apache.
·
Monday, 06 July 2015 11:26
·
0 Likes
·
0 Votes
·
0 Comments
·
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.
·
Monday, 06 July 2015 14:58
·
0 Likes
·
0 Votes
·
0 Comments
·
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 12:20
·
0 Likes
·
0 Votes
·
0 Comments
·
JEvents 3.4.0 (see https://www.jevents.net/download-area/jevents) has a new method of calculating a constrasting foreground colour built in.
·
Tuesday, 07 July 2015 13:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Good news, thank you!
·
Tuesday, 07 July 2015 14:02
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post