• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Only show Start Time

Only show Start Time 3 years 2 months ago #40982

  • rakeshy
  • rakeshy's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 92
  • Thank you received: 3
Can't seem to get the code right of my Upcoming Events module template override:
<small><?php echo $event->allday ? rseventsproHelper::date($event->start,rseventsproHelper::getConfig('global_date'),true) : rseventsproHelper::date($event->start,null,true); ?></small>

When I use ->start_time I do not get what I need. Would like to only display the Event's Start Time.

Please help!
Last Edit: 3 years 2 months ago by rakeshy.
The administrator has disabled public write access.

Only show Start Time 3 years 2 months ago #40985

  • dragos
  • dragos's Avatar
  • OFFLINE
  • Administrator
  • Posts: 559
  • Thank you received: 102
Hello,

You can try the following instead:
<small> - <?php echo $event->allday ? rseventsproHelper::date($event->start,rseventsproHelper::getConfig('global_date'),true) : date('H:i', strtotime(rseventsproHelper::date($event->start,null,true))); ?></small>
The administrator has disabled public write access.
The following user(s) said Thank You: rakeshy

Only show Start Time 3 years 2 months ago #40987

  • rakeshy
  • rakeshy's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 92
  • Thank you received: 3
Awsome! That is it
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!