Form Layout
- Dave B
- Topic Author
- Offline
- Platinum Member
Less
More
8 years 6 months ago #69627
by Dave B
Form Layout was created by Dave B
Hello, the Bootstrap layout has the form fields on the right of the labels which is not the best layout for the mobile phones. If I turn off Bootstrap the fields are below the labels but the whole thing looks bad (spacing, etc.). Can the Bootstrap layout have the fields under the labels.
Thanks
Thanks
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
8 years 6 months ago #69708
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Form Layout
Hi Dave
I think you can edit the code abit to get it works as you want. Look at the file components/com_jdonation/view/donation/tmpl/default.php, find the code:
Change it to
And it should work well
Regards,
Tuan
I think you can edit the code abit to get it works as you want. Look at the file components/com_jdonation/view/donation/tmpl/default.php, find the code:
Code:
class="form form-horizontal"
Code:
class="form"
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Dave B
- Topic Author
- Offline
- Platinum Member
8 years 6 months ago #69994
by Dave B
Replied by Dave B on topic Form Layout
Can this be done in a template override?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
8 years 6 months ago #70018
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Form Layout
Yes Dave. The extension supports template override, so you can use template override to modify the layout file so that it won't be lost when you upgrade to future releases of the extension
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Dave B
- Topic Author
- Offline
- Platinum Member
8 years 6 months ago #70020
by Dave B
Replied by Dave B on topic Form Layout
Hi, I tried but could not get that php file to show up in the overrides. Could you give an example?
I did do it manually and it works.
Thanks
I did do it manually and it works.
Thanks
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
8 years 6 months ago #70074
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Form Layout
You can simply copy that default.php file to html/com_jdonation/donation folder of your site template (you will have to create the folder com_jdonation and com_jdonation/donation folder manually). You will have to do it via FTP
After that, you can modify that file without having to worry about future update
Tuan
After that, you can modify that file without having to worry about future update
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.