- Posts: 235
- Thank you received: 4
Get day name in timeline view?
- spitjack
-
Topic Author
- Offline
- Elite Member
-
Less
More
7 years 2 months ago #111188
by spitjack
__
a 'spit' is a rod upon which savory food was roasted, turned in ancient times by a worker called a 'jack', a middle English word for an ordinary laborer (eg jack of all trades, steeplejack, lumberjack). Today, this job is usually referred to as a 'pitmaster'.
Get day name in timeline view? was created by spitjack
I'm not sure of the variable to use, but other than getting the day name of each date in timeline view, I've got a serious override going. Here's a markup from the wireframe. (And now you know why I was asking earlier about a PL language package for this component. :whistle: )
__
a 'spit' is a rod upon which savory food was roasted, turned in ancient times by a worker called a 'jack', a middle English word for an ordinary laborer (eg jack of all trades, steeplejack, lumberjack). Today, this job is usually referred to as a 'pitmaster'.
- Tuan Pham Ngoc
- Offline
- Administrator
-
7 years 2 months ago #111190
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Get day name in timeline view?
Hello
I don't really understand this question. In that view, there is multiple events displayed, so there would be many different days. So exactly what's the day name you want to get?
Tuan
I don't really understand this question. In that view, there is multiple events displayed, so there would be many different days. So exactly what's the day name you want to get?
Tuan
Please Log in or Create an account to join the conversation.
- spitjack
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 235
- Thank you received: 4
7 years 2 months ago #111250
by spitjack
__
a 'spit' is a rod upon which savory food was roasted, turned in ancient times by a worker called a 'jack', a middle English word for an ordinary laborer (eg jack of all trades, steeplejack, lumberjack). Today, this job is usually referred to as a 'pitmaster'.
Replied by spitjack on topic Get day name in timeline view?
Whatever day of the week (Sunday, Monday, etc.) that the date happens to be (June 12, 2018, for example, is a Monday - so we would like to show 'Monday' in with that date)
__
a 'spit' is a rod upon which savory food was roasted, turned in ancient times by a worker called a 'jack', a middle English word for an ordinary laborer (eg jack of all trades, steeplejack, lumberjack). Today, this job is usually referred to as a 'pitmaster'.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
7 years 2 months ago #111269
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Get day name in timeline view?
Look at the file components/com_eventbooking/view/common/tmpl/events_timeline.php, you will see this line of code:
<?php echo JHtml::_('date', $event->event_date, 'Y', null); ?>
Change it to:
<?php echo JHtml::_('date', $event->event_date, 'l', null); ?>
and it should show the value you want there
Tuan
<?php echo JHtml::_('date', $event->event_date, 'Y', null); ?>
Change it to:
<?php echo JHtml::_('date', $event->event_date, 'l', null); ?>
and it should show the value you want there
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 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.