Hello Tuan. I would like to ask you to fix the Events Booking component a little.
1. Error in declaring the script gsdata.php ld+json. If a list of all events is displayed, then immediately after the s c r i p t type="application/ld+json" there is a simple listing of the events: name, startDate, image etc.
<!!!!!--- s c r i p t type="application/ld AND json" ---!!!!!>
{
"@context":"https:\/\/schema.org",
"@type":"Event",
"name":"Simulation training "Hysteroscopy"",
.....
},
{
"@context":"https:\/\/schema.org",
"@type":"Event",
"name":"Event 2",
.....
}
It is not right. This is not an array. You can check with any validator, like Schema.org or Google Checking rich results. If you list events this way, the search engine will only see the first one. You need to add square brackets at the beginning and end.
<!!!!!!!!
script type="application/ld+json" ----!!!!!!!!>
[{
"@context":"https:\/\/schema.org",
"@type":"Event",
"name":"Simulation training "Hysteroscopy"",
.....
},
{
"@context":"https:\/\/schema.org",
"@type":"Event",
"name":"Event 2",
.....
}]
Then all events will be visible. If one event is displayed, then now everything is correct.
2. Mini-calendar module. When activated, it reads the parameter "show or not past events". But if you click on the “month forward” or “month ago” buttons, it simply never shows past events.
It's probably not readable somewhere (AJAX): /components/com_eventbooking/themes/default/calendar/mini.php . It would be convenient for me if this parameter were always read from the configuration.
Thanks in advance. Have a nice day!