Display Event starting hour on EB module

  • obiwancho
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 6 months ago #11979 by obiwancho
Display Event starting hour on EB module was created by obiwancho
Hi, is there a way to include event starting hour in module? I tried to modify it adding the same line of code that it uses on component

<?php echo JHTML::_('date', $item->event_date, $this->config->event_date_format, 0) ; ?>

but it only show date on module when its showing date + hour on component.

Any idea?

Thanks in advance

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

More
13 years 6 months ago #12044 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Display Event starting hour on EB module
You just need to go to Event Booking -> Configuration, looks at Event Date Format config option, change it to include parameter for hour .

Hope this help !

Tuan

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

  • obiwancho
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 6 months ago #12047 by obiwancho
Replied by obiwancho on topic Re: Display Event starting hour on EB module
Hi Tuan

this is what i have there

%m-%d-%Y %I:%M %p

it´s showing date + hour in component ..but not on module.

Module only shows date.

Let me know if date format is ok

Thanks

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

More
13 years 6 months ago #12048 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Display Event starting hour on EB module
Hi

The format is OK and It should work fine too, I don't understand why it doesn't work on your site. You can see it works fine here eventbooking.joomdonation.com/index.php?...w=category&Itemid=14

In this case, maybe something special with your site. Please send me administrator and FTP account via support ticket of your site so that I can check it for you !

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc