Additional Info
Type
Package ID
GL700Wing:CustomProfileField-S
First Created
August 20, 2020, 07:17:46 AM
Last Updated
August 31, 2021, 01:44:53 AM

Custom Profile Field - Sort Select Box/Radio Button Options v1.1

Mod to enable sorting of the options for 'Select Box' and 'Radio Button' custom prof
Compatible With 2.0.17, 2.0.18, 2.1 RC4
Latest version v1.1
Downloads 169
Reviews 0
Rating 0/5
Subscribers 0
License (View License)
Author(s)
By default the options for 'Select Box' and 'Radio Button' in Custom Profile Fields cannot be sorted - they have to be reordered manually.  In situations where it is necessary to periodically add a new option like a calendar year and have the list displayed in descending order, or add a new model of an item and have the list displayed in ascending order, this can become quite time consuming.

This modification enables the ascending/descending sorting of the options for 'Select Box' and 'Radio Button' custom profile fields prior to them being saved.  There is also a 'No change' option (this is the default option) to preserve the order of the options if the Ascending or Descending sort options are not selected.

Also, and because care must be taken to not change the text when manually reordering options to ensure that user data is not lost, this mod provides a means to sort the options without any need to copy/paste/retype the text.


Release History:
1.0 - 20-Aug-20
o Initial Release with support only for SMF 2.0.17

1.0 Update - 12-Oct-20
o Added installer support for SMF 2.0.18 (no code change for mod)

1.1 - 25-Jul-21
o Added support from SMF 2.1 RC4



License
Copyright 2020-2021 Kathy Leslie

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Manual installation info
You have to register or login to be able to leave a review
There are currently no reviews on this customization
Advertisement: