Basic geolocation (for the script I-Soft Bizness)

Modification of the "Basic geolocation"


Basic geolocation you can create sort by city on the main page of the catalog and on pages categories. On other pages sort is not valid.

1) References in the modification uses only CNC. The TNC uses the name of the city, which is sorted and as in the basic version name, Listings podpodkategory

2) Sort using a modification of "country-region-city" (http://construktor.buydigi.ru/asp/pay.asp?id_d=1344521)

There is a consistent choice, according to a modification


Without sorting installation modification goes through the city without the use of the country


Using the country, region and city without modification "Country-Region-City" is not provided.

3) At the bottom of the page when displaying firms displayed a map showing the firm.


Since showing the number of firms going on the run, with a large number of firms and relatively high power dedicated for php-interpreter and the server as a whole, can be hang or slow work of these pages. To resolve this problem in the file conf / config.php recommend setting $ count_gorod = "NO", but then the number of firms will not be displayed and links will appear on all pages, even pages with the categories in which the company no.

Also, to facilitate the process in the file conf / config.php can set the following parameters to NO

// Display a list of the number of categories and subcategories

$ Def_show_indexes = "YES"; // YES or NO (upper case, please)


// Show the subcategory on the main page right under the main categories

$ Def_show_subcategories = "YES"; // YES or NO (upper case, please)


As well as reducing the number of categories displayed on the main

// Maximum display subcategories in the main directory

$ Def_show_subs_number = "5";

Preview of the modification with the connected "country-region-city" in the catalog can be http://wazzup.su/catalog/

Without this module in the catalog http://orenschools.ru/


In the catalog http://wazzup.su/catalog/ a lot of companies, so the download pages can be slow. Note that this problem can be solved by the above method.

Also, to test modifications on the city recommended to choose Ukraine, Crimea, Simferopol, as there are the largest number of companies.