- Posts: 16
- Thank you received: 0
Is it possible to show custom event fields in the frontend module
- jythra
- Topic Author
- Offline
- New Member
Less
More
3 years 9 months ago #142128
by jythra
Is it possible to show custom event fields in the frontend module was created by jythra
Hello,
Is there a way (with a module override) to show the custom fields of an event in the Upcomming events module? How do I place them in the override?
- Rachel
Is there a way (with a module override) to show the custom fields of an event in the Upcomming events module? How do I place them in the override?
- Rachel
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
3 years 9 months ago #142130
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Is it possible to show custom event fields in the frontend module
Hello Rachel
You will have to write code yourself to have the event custom fields displayed. What layout you are using to display upcoming events in the module? Let me know so that I can look at it and guide you with some code
Regards,
Tuan
You will have to write code yourself to have the event custom fields displayed. What layout you are using to display upcoming events in the module? Let me know so that I can look at it and guide you with some code
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- jythra
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
3 years 9 months ago #142132
by jythra
Replied by jythra on topic Is it possible to show custom event fields in the frontend module
Hi Tuan,
I'v tried to change the default.php from the mod_eb_events and renamed that.
- Rachel
I'v tried to change the default.php from the mod_eb_events and renamed that.
- Rachel
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
3 years 9 months ago #142133
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Is it possible to show custom event fields in the frontend module
Hi Rachel
You can use this syntax to display value of a custom field:
echo $row->field_speaker;
echo $row->field_name;
field_speaker, field_name is name of the event custom fields which you defined. Could you please try that?
Tuan
You can use this syntax to display value of a custom field:
echo $row->field_speaker;
echo $row->field_name;
field_speaker, field_name is name of the event custom fields which you defined. Could you please try that?
Tuan
Please Log in or Create an account to join the conversation.
- jythra
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
3 years 9 months ago #142136
by jythra
Replied by jythra on topic Is it possible to show custom event fields in the frontend module
YES! that works like a charm and was exactly what I was looking for!
Thanks!
- Rachel
Thanks!
- Rachel
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
3 years 9 months ago #142138
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Is it possible to show custom event fields in the frontend module
Great. Remember to move that modified file to template override so that it won't be lost when you update to future releases of the extension
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2024 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.