- Posts: 31
- Thank you received: 3
[SOLVED] Checkbox styling paramters ignored
- drjjw
- Topic Author
- Offline
- Junior Member
-
Less
More
13 years 8 months ago - 13 years 8 months ago #10954
by drjjw
[SOLVED] Checkbox styling paramters ignored was created by drjjw
Hello,
Using Event Booking 1.4.1 for J1.5
When using a custom checkbox field, none of the styling options cause any change in the appearance of the options on frontend.
I want each check box option to have their own line so enter 6 rows in the styling fields; no luck; they all appear on 2 rows, three each. Also tried applying a custom css class to the filed and it does not get inserted.
I'm referring to these options:
Rows
Cols
Size
Css class
Using Event Booking 1.4.1 for J1.5
When using a custom checkbox field, none of the styling options cause any change in the appearance of the options on frontend.
I want each check box option to have their own line so enter 6 rows in the styling fields; no luck; they all appear on 2 rows, three each. Also tried applying a custom css class to the filed and it does not get inserted.
I'm referring to these options:
Rows
Cols
Size
Css class
Last edit: 13 years 8 months ago by drjjw.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 8 months ago #10978
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Checkbox styling paramters ignored
@drjjw : Right now, you need to modify the code alitle to make each option appear on one row . Open the file components/com_eventbooking/helper/fields.php, looks at the code at line 10 :
And change it to :
There would need some improvement to it to make it configurable for each field but I haven't had time to work on it yet. So for now, please use the above solution !
Regards,
Tuan
Code:
define('NUMBER_OPTION_PER_LINE', 3) ;
And change it to :
Code:
define('NUMBER_OPTION_PER_LINE', 1) ;
There would need some improvement to it to make it configurable for each field but I haven't had time to work on it yet. So for now, please use the above solution !
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- drjjw
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 31
- Thank you received: 3
13 years 8 months ago #10979
by drjjw
Replied by drjjw on topic Re: Checkbox styling paramters ignored
I don't mind messing with the code. Works great!
Please Log in or Create an account to join the conversation.
- alatka
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
13 years 6 months ago #11787
by alatka
Replied by alatka on topic Re: Checkbox styling paramters ignored
This worked perfectly for the registration form. However, for the Registration Confirmation page, the items are still on a single line (comma separated). Is there a way to make them each on their own line?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 6 months ago #12294
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Checkbox styling paramters ignored
Now in the latest version, you can control number of checkboxes per line using size property of the field. No need to modify code anymore !
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- alatka
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
13 years 1 month ago #14653
by alatka
Replied by alatka on topic Re: Checkbox styling paramters ignored
Unfortunately, changing the size of the field does nothing to formatting for me. I'm using EB 1.4.4 and Joomla 2.5.

Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 1 month ago #14657
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Checkbox styling paramters ignored
@alatka : Change size attribute to 1 and each option will be displayed in one line (meets your requirement)
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.