- Posts: 20
- Thank you received: 0
Override RadFormField
- Martijn
- Topic Author
- Offline
- Junior Member
-
Less
More
6 years 9 months ago #117904
by Martijn
Override RadFormField was created by Martijn
Hi Tuan,
Is there an easy way to override the output of the RADFormFields getInput function? For example, the Radio output is rendered in a fieldset within an unordered list, which is not really the correct semantics (administrator/components/com_eventbooking/libraries/rad/form/field/radio.php).
We would like to change that, but not by hacking your extension
Thanks!
Sander
Is there an easy way to override the output of the RADFormFields getInput function? For example, the Radio output is rendered in a fieldset within an unordered list, which is not really the correct semantics (administrator/components/com_eventbooking/libraries/rad/form/field/radio.php).
We would like to change that, but not by hacking your extension

Thanks!
Sander
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
6 years 9 months ago #117905
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Override RadFormField
Hello Sander
Unfortunately, it's not possible to customize it without hacking the extension core code at the moment.
I guess I can support it in the next release by introducing layout for each field type. Just wanted to know what should be the recommend code for output?
Tuan
Unfortunately, it's not possible to customize it without hacking the extension core code at the moment.
I guess I can support it in the next release by introducing layout for each field type. Just wanted to know what should be the recommend code for output?
Tuan
Please Log in or Create an account to join the conversation.
- Martijn
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 0
6 years 9 months ago #117906
by Martijn
Replied by Martijn on topic Override RadFormField
Hi Tuan,
Thanks for your quick response. I do think it would be great if something like a JLayout could be used. In that way, we can always override it if needed.
I will discuss this with our frontend developers next week and propose a proper output/solution.
Thanks!
Thanks for your quick response. I do think it would be great if something like a JLayout could be used. In that way, we can always override it if needed.
I will discuss this with our frontend developers next week and propose a proper output/solution.
Thanks!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
6 years 9 months ago #117907
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Override RadFormField
We won't use JLayout as we have something similar (but simpler). Anyway, Yes, I agree sometime we should be allowed to customize the output and I will support it (in 3.8.1). I will release version 3.8.0 with some nice improvements on Monday next week, so it's too late for this option
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
6 years 9 months ago #118031
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Override RadFormField
Hi Sander
I just updated download package on server which support this option. Now, you can override layout of any custom field + field label + field output. You can:
1. Get the the related layout file from components/com_eventbooking/themes/default/fieldlayout
2. Do the modification. One the modification is done, upload it to PATH_TO_TEMPLATE/html/com_eventbooking/fieldlayout folder
Then this modification won't be lost when you update to future releases of the extension
Regards,
Tuan
I just updated download package on server which support this option. Now, you can override layout of any custom field + field label + field output. You can:
1. Get the the related layout file from components/com_eventbooking/themes/default/fieldlayout
2. Do the modification. One the modification is done, upload it to PATH_TO_TEMPLATE/html/com_eventbooking/fieldlayout folder
Then this modification won't be lost when you update to future releases of the extension
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Martijn
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 0
6 years 9 months ago #118156
by Martijn
Replied by Martijn on topic Override RadFormField
Hi Tuan,
Great, thanks a lot for the update! Just checked it and working perfect.
Thanks!
Sander
Great, thanks a lot for the update! Just checked it and working perfect.
Thanks!
Sander
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
6 years 9 months ago #118157
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Override RadFormField
Great. Happy to hear that and thanks for confirming
Regards
Tuan
Regards
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.