Items by default

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".

Quote · 14 Oct 2015

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
Quote · 14 Oct 2015

I use the 7.2 version. I tried to move to the top. Effectively not working.

Quote · 15 Oct 2015

 

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
Quote · 15 Oct 2015

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
Quote · 15 Oct 2015

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
Quote · 15 Oct 2015
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.