help to better help you:
Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!
Feature requests for JEM 2.0 - initial public release
No event, no listing...
Re: No event, no listing...
9 hours 26 minutes ago
Tell me what JEM version had before install the new zip.
At the end of the day, computing and technology, like Joomla and JEM are here to help the end user and make our lives a little easier. Help us to be better.
Please Log in or Create an account to join the conversation.
Re: No event, no listing...
6 hours 28 minutes ago
Actually it's with recent files at github..
I was able to reproduce this on JEM 5.0.1 RC4 / Joomla 6.1.2.
I tested the calendar views with an Event whose category has no color configured.
Result
The warning is reproducible in these three templates:
The error is:
The cause appears to be that
is only assigned when category colors are present, but later it can still be appended for Events whose category has no color.
The equivalent working templates already initialize it like this:
So the minimal fix seems to be adding:
to the per-Event initialization in those three affected templates.
For comparison, these views passed with the same uncolored-category Event:
So this looks like a small JEM core issue rather than a configuration problem.
I also have a Playwright regression test for all six calendar variants, so after the fix I can rerun it and confirm whether all 6/6 pass.
I was able to reproduce this on JEM 5.0.1 RC4 / Joomla 6.1.2.
I tested the calendar views with an Event whose category has no color configured.
Result
Code:
3 passed
3 failed
The warning is reproducible in these three templates:
Code:
components/com_jem/views/venue/tmpl/calendar.php
line 451
components/com_jem/views/venue/tmpl/responsive/calendar.php
line 450
components/com_jem/views/weekcal/tmpl/default.php
line 408
The error is:
Code:
Warning: Undefined variable $color
The cause appears to be that
Code:
$color
The equivalent working templates already initialize it like this:
Code:
$colorpic = '';
$color = '';
So the minimal fix seems to be adding:
Code:
$color = '';
to the per-Event initialization in those three affected templates.
For comparison, these views passed with the same uncolored-category Event:
Code:
Calendar - Legacy
Calendar - Responsive
Week Calendar - Responsive
So this looks like a small JEM core issue rather than a configuration problem.
I also have a Playwright regression test for all six calendar variants, so after the fix I can rerun it and confirm whether all 6/6 pass.
JEM 5.01 (beta) + Joomla 6
Please Log in or Create an account to join the conversation.
Re: No event, no listing...
3 hours 31 minutes ago
Fixed.
You can see the commit with the fix in this issue:
github.com/jemproject/JEM-Project/issues/2346
You can see the commit with the fix in this issue:
github.com/jemproject/JEM-Project/issues/2346
At the end of the day, computing and technology, like Joomla and JEM are here to help the end user and make our lives a little easier. Help us to be better.
Please Log in or Create an account to join the conversation.
Time to create page: 0.639 seconds