By Guest on Monday, 26 March 2018
Replies 7
Likes 0
Views 881
Votes 0
Hope you can fix this little display bug with your next release.

At present, in jev_listview category, the output renders like this for specific events in a repeating event series:
<div class="jev_listrow"><ul class="ev_ul">
<li class="ev_td_li" style="border-color:e33715;">

and like this for the "normal" repeating events:
<div class="jev_listrow"><ul class="ev_ul">
<li class="ev_td_li" style="border-color:#e33715;">

So, the "normal" events have the proper category colour and the specific events revert to the default css colour.
Hello,

Well that sure sucks! What theme is that on?

Many thanks
Tony
·
Tuesday, 27 March 2018 14:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, it does suck :-)

The theme is flatplus.
·
Friday, 30 March 2018 05:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry - your reply got missed

I can't recreate this issue - do you use the layout editor for JEvents? do you set the colour by event or by category?
What happens in one of the other Jevents themes?
·
Wednesday, 16 May 2018 12:19
·
0 Likes
·
0 Votes
·
0 Comments
·
It's cool.

I found that it was happening in these circumstances:
- had a category colour (but also had added that colour per event, including the repeating events)
- once I created specific instances, it was those which failed to get the # rendering before the colour.

Anyway, I simply removed any colour setting for the specific events... then the colour "flowed through" corrected. I'm not sure if the colour it's coming through from the category, or the repeating event, but it is coming through with #, so the colour shows up correctly.
·
Sunday, 03 June 2018 15:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Ahh ok so it looks like it's down to the events individual colour setting falling back to the category colour and on fallback it's missing the #. Does that sound about right?
·
Monday, 04 June 2018 22:56
·
0 Likes
·
0 Votes
·
0 Comments
·
No... falling back works. I discovered that by stripping the colour setting from specific events in a repeating series.

Before, when I didn't know that fallback would work, I had a colour settings in everythung - category, event, repeating event, and specific event in a releating series.

The # was only failing to show up in the specific events in a repeating series.
·
Tuesday, 05 June 2018 06:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the detailed explanation of where the problem arises - I had not been testing with a specific (i.e. edited repeat).

I have found the issue - at line c. 536 of administrator/com_jevents/controllers/icalrepeat.php you'll see

$data["X-COLOR"] = $jinput->get("color", "");

change it to

$data["X-COLOR"] = $jinput->get("color", "", 'HTML');


The fix will be in the next release of JEvents
·
Tuesday, 05 June 2018 14:02
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post