- Posts: 12
- Thank you received: 0
vertical checkboxes
- stockmom123
- Topic Author
- Offline
- New Member
Less
More
11 years 8 months ago #17745
by stockmom123
vertical checkboxes was created by stockmom123
How do you make the checkboxes vertical? I tried the cols rows but it didn't change anything.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
11 years 8 months ago #17762
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: vertical checkboxes
Hi
In this case, you will need to edit code alitle. Please open the file components/com_jdonation/helper/fields.php, find the code below :
Change it to :
After that, it should work as expected.
Regards,
Tuan
In this case, you will need to edit code alitle. Please open the file components/com_jdonation/helper/fields.php, find the code below :
Code:
define('NUMBER_OPTION_PER_LINE', 3) ;
Change it to :
Code:
define('NUMBER_OPTION_PER_LINE', 1) ;
After that, it should work as expected.
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- fireflybrigade
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
11 years 6 months ago #19939
by fireflybrigade
Replied by fireflybrigade on topic Re: vertical checkboxes
hi tuan,
did as instructed but still being displayed horizontally. help.
did as instructed but still being displayed horizontally. help.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
11 years 6 months ago #19967
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: vertical checkboxes
Hi
In the latest verison, you can simply change the Size attribute of the custom field to 1 and It will work as expected. No need to edit code anymore
Tuan
In the latest verison, you can simply change the Size attribute of the custom field to 1 and It will work as expected. No need to edit code anymore
Tuan
Please Log in or Create an account to join the conversation.
- fireflybrigade
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
11 years 6 months ago #19997
by fireflybrigade
Replied by fireflybrigade on topic Re: vertical checkboxes
great! thanks tuan!
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Dũng Nguyễn Việt
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.