help to better help you:

Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!

JEM Teaser module - remove the date and keep only the time

JEM Teaser module - remove the date and keep only the time

2 months 3 weeks ago
#33143
Hi. I would like to remove the date and only keep the time for an event as the icon already show date, month and day of week. 
 

Is there an easier way as to create an override and replace the "dateinfo" with 
<?php $times = explode('-', strip_tags(trim(end(explode(',', $item->dateinfo))))); echo '<span class="jem_time-1">'.trim($times[0]).'</span> - <span class="jem_time-2">'.trim($times[1]).'</span>'; ?>
 

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

Re: JEM Teaser module - remove the date and keep only the time

2 months 3 weeks ago - 2 months 3 weeks ago
#33144
EDIT: You are on which JEM teaser module version? it seems, there are changings (uncommented code). I am testing on new upcoming 4.4.0 version, which gives the possibility of different layouts (default is like you want, responsive is with dubbeling date)

Hi, I can understand your question: this is a dubbeling of the same info, which don't make sense.
(only when you are disableing the calendar image, then Date and Time make sense)
So I would say, this is a feature request!
Last edit: 2 months 3 weeks ago by jojo12.

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

Re: JEM Teaser module - remove the date and keep only the time

2 months 3 weeks ago - 2 months 3 weeks ago
#33145
Module-Teaser: 4.3.4 August 2025

OK - lets see. I hope the default layout is also responsive. In fact I would like the date and time, venue and category always beside the calendar icon and only the description moving beneath on smartphone screen. I am trying to achieve that with css/media modification in template.  
Last edit: 2 months 3 weeks ago by hklages. Reason: add information about my "target"

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

Re: JEM Teaser module - remove the date and keep only the time

2 months 3 weeks ago - 2 months 3 weeks ago
#33146
The final result should be a list where each items look like on Desktop: 
 

and on Smartphone: 
 
Last edit: 2 months 3 weeks ago by hklages. Reason: more precise description

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

Re: JEM Teaser module - remove the date and keep only the time

1 day 9 hours ago
#33367
Solved with release 4.4.0
Thanks. 

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

Time to create page: 0.773 seconds