How to make item by default ?
For country. Example when adding an event.
In the member search section, for zipcode search. Make "km" and not "miles".
How to make item by default ? For country. Example when adding an event. In the member search section, for zipcode search. Make "km" and not "miles". |
Which version are you using? The answer for this with 7.1.x was to not sort the country list. Then you move the default country to the top of the predefined list. Geeks, making the world a better place |
I use the 7.2 version. I tried to move to the top. Effectively not working. |
I use the 7.2 version. I tried to move to the top. Effectively not working. Is it sorting the list? AlexT answered a topic on on this if you care to search the forum. 7.2 is new so I did not know if the option to sort or not sort predefined lists was added to the code or not. Geeks, making the world a better place |
Countries sorting setting is in templates/base/scripts/BxBaseConfig.php file: var $bForceSortCountries = true; Is it sorting the list?
Rules → http://www.boonex.com/terms |
So there you have it, you have to set var $bForceSortCountries = false;
in BxBaseConfig.php
You might want to copy that to your template so it does not get overridden by an update. Geeks, making the world a better place |