Day of week in any view?

  • Melissa
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
1 week 2 days ago #170691 by Melissa
Day of week in any view? was created by Melissa
I've been using Events Booking for almost 10 years (wow!) and have not yet found a way to display the day of the week for any event on the front end. I really like the list view as shown in the standard upcoming events, but would also like to see these include the day of the week. As I have events at different times, and already include the time in the event description so it's obvious, I can add in the day of the week, but I would really prefer not to do this. Is there a way to show the day of the week? 
I've added a modified screen shot from the documentation, with an example of how it could show the day of the week. Can I make it do this?

Thanks!
Melissa
Attachments:

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

More
1 week 1 day ago #170703 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Day of week in any view?
That would require small modification to the upcoming events module layout. You can submit a support ticket sending us super user account of your site and link to the page so that we can help with the modification.

Can we just output the data for you, and then you can style it to meet your need ?

Tuan

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

  • Melissa
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
1 week 1 day ago #170712 by Melissa
Replied by Melissa on topic Day of week in any view?
Unfortunately, my site isn't compatible with the newest EventsBooking, so I am unable to get support. Can you explain what to do and I'll try it myself? Otherwise, I'll just leave it as it is until I can get the newest version.

Thanks,
Melissa

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

More
1 week 23 hours ago #170719 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Day of week in any view?
Hi Melissa

For that, you can look at the file modules/mod_eb_events/tmpl/improved.php, try to add this line of code after line 116:
Code:
<div class="ebm-event-day-of-week"><?php echo HTMLHelper::_('date', $row->event_date, 'D', null); ?></div>

That should display the day of week of the event

Regards,

Tuan
The following user(s) said Thank You: Melissa

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

  • Melissa
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
4 hours 13 minutes ago #170855 by Melissa
Replied by Melissa on topic Day of week in any view?
I'm finally getting to this and it took me longer to find the file than to make this work. 

Thanks so much!!! Now no one has any excuses for not knowing what day of the week an event is on. 

Melissa
Attachments:

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

Moderators: Tuan Pham Ngoc