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...

2 months 1 week ago
#34444
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...

2 months 1 week ago
#34445
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
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
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:
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.1.0 + Joomla 6

Please Log in or Create an account to join the conversation.

Re: No event, no listing...

2 months 1 week ago
#34446
Fixed.
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.

Re: No event, no listing...

2 months 1 week ago - 2 months 1 week ago
#34448
I was on latest versions I guess, I found this:  prnt.sc/Nf9L13VLK6XO

Had the most recent live version and installed the beta as suggested higher up the thread.
HTH

Oh, you found and fixed, you guys are SO quick and efficient. Appreciate your commitment  to this project. 🥰
Last edit: 2 months 1 week ago by digby.

Please Log in or Create an account to join the conversation.

Time to create page: 0.469 seconds