help to better help you:
Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!
Plugin "ListEvent for JEM" – fixed, adapted and extended
Re: Plugin "ListEvent for JEM" – fixed, adapted and extended
7 years 2 months ago - 7 years 2 months ago
I am a non-coder too, but I fight to integrate good things!
Last edit: 7 years 2 months ago by jojo12.
The following user(s) said Thank You: hekla
Please Log in or Create an account to join the conversation.
Re: Plugin "ListEvent for JEM" – fixed, adapted and extended
7 years 2 months ago
Probably the last post in this thread: An updated version of the plugin is integrated in JEM 2.2.2 as "jemlistevents". So there is no need to download and install it separately.
The following user(s) said Thank You: jojo12
Please Log in or Create an account to join the conversation.
Re: Plugin "ListEvent for JEM" – fixed, adapted and extended
7 years 1 month ago
It wasn't the last post:
I just noted that the jemlistevents plugin just shows the start date of an event.
To get the start date and the end date (in the format: "startdate - endate" – if they are not on the same day) I suggest the following change. It works – but as my php skills are limited I have no idea if this is good code:
In jemlistevents.php between line 331 and 332
add
so you get
Have fun
I just noted that the jemlistevents plugin just shows the start date of an event.
To get the start date and the end date (in the format: "startdate - endate" – if they are not on the same day) I suggest the following change. It works – but as my php skills are limited I have no idea if this is good code:
In jemlistevents.php between line 331 and 332
Code:
$html_list .= JemOutput::formatdate($event->dates, $parameters['date_format']);
$html_list .= (($parameters['show_date'] === 'link') ? '</a>' : '');
Code:
if ($event->dates != $event->enddates) {
$html_list .= " - ".JemOutput::formatdate($event->enddates, $parameters['date_format']);
}
so you get
Code:
$html_list .= JemOutput::formatdate($event->dates, $parameters['date_format']);
if ($event->dates != $event->enddates) {
$html_list .= " - ".JemOutput::formatdate($event->enddates, $parameters['date_format']);
}
$html_list .= (($parameters['show_date'] === 'link') ? '</a>' : '');
Have fun
The following user(s) said Thank You: jojo12
Please Log in or Create an account to join the conversation.
Time to create page: 0.657 seconds