- Posts: 25
- Thank you received: 0
Ordering custom fields
- Michal
- Topic Author
- Offline
- Junior Member
-
Less
More
10 years 11 months ago #61584
by Michal
Ordering custom fields was created by Michal
Hi
Ordering custom fields is not possible, No JavaScript errors reported. How can I order them without deleting and recreating again ?
Ordering custom fields is not possible, No JavaScript errors reported. How can I order them without deleting and recreating again ?
Please Log in or Create an account to join the conversation.
- James Riley
-
- Offline
- Platinum Member
-
10 years 11 months ago - 10 years 11 months ago #61590
by James Riley
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Replied by James Riley on topic Ordering custom fields
Ordering is possible, but requires that you sort by the Order column.
documentation.joomdonation.com/2-events-...g-custom-fields.html (see section #5)
Then you can use the arrow buttons to move fields around.
Alternately, you can enter new numbers into the boxes and press the SAVE button (the up&down arrow button at the VERY top in the header row). As a note, you'll have to re-do ALL the numbers for best results as a duplicate number usually will prevent the new order from saving (at least for me... I have a bug report in regarding this behavior). Also, don't press ENTER as you enter values, or all will be lost
. You can try decimal eg 5.5 to get it between existing 5 and 6 (the decimal value will not show, and you'll have two 5's) and then the up-down arrow to renumber everything too, but this sometimes doesn't work right for me either. If you have access to your database and want to slide all existing custom fields down (by adding 100 to all the values in the Order column) so that it's easier to get new entries to the top by simply enter a low number into the order box & clicking save, you can run the following mySQL against your CustomFields table:
where [YOUR-DB-PREFIX] is the prefix on your database tables.
documentation.joomdonation.com/2-events-...g-custom-fields.html (see section #5)
Then you can use the arrow buttons to move fields around.
Alternately, you can enter new numbers into the boxes and press the SAVE button (the up&down arrow button at the VERY top in the header row). As a note, you'll have to re-do ALL the numbers for best results as a duplicate number usually will prevent the new order from saving (at least for me... I have a bug report in regarding this behavior). Also, don't press ENTER as you enter values, or all will be lost
Code:
UPDATE `[YOUR-DB-PREFIX]_eb_fields` SET `ordering` = `ordering`+100
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Last edit: 10 years 11 months ago by James Riley.
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 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.