- Posts: 27
- Thank you received: 1
Up Comining events dates
- brunov99
- Topic Author
- Offline
- Junior Member
-
Less
More
12 years 1 week ago #43054
by brunov99
Up Comining events dates was created by brunov99
Hello,
The upcoming events module displays the starting date. Is there a way to display something like from [start date] to [end date] ?
in the module i found only
.
Thank you again for your amazing component.
Brunov99
The upcoming events module displays the starting date. Is there a way to display something like from [start date] to [end date] ?
in the module i found only
Code:
<span class="event_date"><?php echo JHTML::_('date', $row->event_date, $config->event_date_format, null); ?></span>
Thank you again for your amazing component.
Brunov99
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
12 years 1 week ago #43087
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Up Comining events dates
Maybe you can change that code to :
Regards,
Tuan
Code:
<span class="event_date"><?php echo JHTML::_('date', $row->event_date, $config->event_date_format, null); ?> - <?php echo JHTML::_('date', $row->event_end_date, $config->event_date_format, null); ?></span>
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- brunov99
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 27
- Thank you received: 1
12 years 1 week ago #43096
by brunov99
Replied by brunov99 on topic Up Comining events dates
Thank you so much.
it's fine.
I have a little request.
I would have the date format in this module only to be 'd-m' (eg 31/03).
It's obvious for guys like you but i'm not comfortable with php.
I think i have to reformat the date set $config->event_date_format in the head of this module but i don't know how to do it ?
i tried to set an my_event_date_format string but it doesn't work.
Brunov99
I have a little request.
I would have the date format in this module only to be 'd-m' (eg 31/03).
It's obvious for guys like you but i'm not comfortable with php.
I think i have to reformat the date set $config->event_date_format in the head of this module but i don't know how to do it ?
i tried to set an my_event_date_format string but it doesn't work.
Brunov99
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
12 years 1 week ago #43130
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Up Comining events dates
In the code, you can simply change the code $config->event_date_format to 'd/m' and It will work well !
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- brunov99
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 27
- Thank you received: 1
12 years 1 week ago #43150
by brunov99
Replied by brunov99 on topic Up Comining events dates
Yeah ! :silly:
Thank you
Brunov99
Thank you
Brunov99
Please Log in or Create an account to join the conversation.
- Jorge O. Cerpa
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
11 years 5 months ago #51125
by Jorge O. Cerpa
Replied by Jorge O. Cerpa on topic Up Comining events dates
Hello,
Hope you are doing fine. It is possible to just have with that code only start and end hours? Not include Dates?
Thanks
Jorge
Hope you are doing fine. It is possible to just have with that code only start and end hours? Not include Dates?
Thanks
Jorge
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.