- Posts: 83
- Thank you received: 4
Display custom fields in table view?
- Roy Chappell
-
Topic Author
- Offline
- Premium Member
-
Less
More
4 years 3 months ago #140443
by Roy Chappell
Display custom fields in table view? was created by Roy Chappell
Hi
In EB > Configuration > Event Custom Fields I have added
I want to display this field (label & value) in the overridden file
public_html/templates/yootheme/html/com_eventbooking/common/events_table.php
How do I show the field's label & value in the above file
thanks
Roy
In EB > Configuration > Event Custom Fields I have added
Code:
<field name="field_depth" type="text" label="Depth" size="10" description=""></field>
I want to display this field (label & value) in the overridden file
public_html/templates/yootheme/html/com_eventbooking/common/events_table.php
How do I show the field's label & value in the above file
thanks
Roy
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
4 years 3 months ago #140465
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Display custom fields in table view?
Hello Roy
1. For Field Label, it should be hardcoded
2. For value entered for the field, just use php echo command
Tuan
1. For Field Label, it should be hardcoded
2. For value entered for the field, just use php echo command
Code:
echo $item->field_depth;
Tuan
The following user(s) said Thank You: Roy Chappell
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.