nurcan Posted May 22, 2020 Share Posted May 22, 2020 When ı want to join this page ı must write this information by self.But ı want to select them from dropdownlist.How can ı do it or where can ı change them? https://my.teknotel.com/register.php thank u for u helping 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 25, 2020 Share Posted May 25, 2020 On 22/05/2020 at 09:34, nurcan said: When ı want to join this page ı must write this information by self.But ı want to select them from dropdownlist.How can ı do it or where can ı change them? you can add to the list of valid states/provinces/regions of Turkey by editing the /assets/js/StatesDropdown.js file and adding the regions of Turkey.. states['TR'] = ["Adana","Adıyaman","end"]; there seems to be over 80 provinces - so the above list will need to be added to... but the last entry, must be "end".. there's no in built way to do the same for cities/districts, so either you would have to custom write a solution for that, or add them into the above list... though that will create the need for hundreds of entries. also, WHMCS will overwrite the above file during an update, so ensure that you keep a copy of it and update it after each WHMCS upgrade. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.