Use Event Custom Field in timeline view
- Philipp
- Topic Author
- Offline
- Senior Member
-
Less
More
7 years 10 months ago #112767
by Philipp
Use Event Custom Field in timeline view was created by Philipp
Hello everyone,
I am trying to output an Event Custom Field in the timeline view, which does not seem to be possible in the standard configuration. I created the field, and the output is there in the tabled views, which is great! I even created a custom output once for the timeline view, featuring the category, this looks like this in the modified events_timeline.php:
but I am still unable to rework it to output the event custom field.
Could someone point me in the right direction? Many thanks!
Philipp
I am trying to output an Event Custom Field in the timeline view, which does not seem to be possible in the standard configuration. I created the field, and the output is there in the tabled views, which is great! I even created a custom output once for the timeline view, featuring the category, this looks like this in the modified events_timeline.php:
Code:
<div class="eb-event-custom-head">
<div class="eb-teamer-icon"></div>
<a href="<?php echo JRoute::_(EventbookingHelperRoute::getCategoryRoute($event->category_id, $Itemid)); ?>" class="eb-category-title-link">
<?php echo $event->category_name; ?></a>
</div>
</div>
but I am still unable to rework it to output the event custom field.
Could someone point me in the right direction? Many thanks!
Philipp
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
7 years 10 months ago #112770
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Use Event Custom Field in timeline view
Hi Philipp
You will need to add code to show the value of custom field. For example, echo $event->speaker; will show the value of custom field with name speaker
So the syntax to display value of a custom field is echo $event->name_of_field;
Regards,
Tuan
You will need to add code to show the value of custom field. For example, echo $event->speaker; will show the value of custom field with name speaker
So the syntax to display value of a custom field is echo $event->name_of_field;
Regards,
Tuan
The following user(s) said Thank You: Philipp
Please Log in or Create an account to join the conversation.
- Philipp
- Topic Author
- Offline
- Senior Member
-
7 years 10 months ago #112780
by Philipp
Replied by Philipp on topic Use Event Custom Field in timeline view
That was exactly what I was looking for. Many thanks, Tuan, as always...
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
7 years 10 months ago #112786
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Use Event Custom Field in timeline view
Great, happy to hear that
Tuan
Tuan
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.