But using original category select didn`t remember what we select. How to make it remember what we have been select?
<?php osc_categories_select('sCategory', null, __('Select a category', 'modern')) ; ?> is default in modern theme for categories.
I have used @cartagena68's code in inc.search.php and search.php. After submit search in homepage, the next page's url has "&page=search&sPattern=gibson&sCategory=97&sRegion=742322&sCity=44727&sPriceMin=&sPriceMax=#.UWKzGFdy1gs. Now if you use the same code from inc.search.php in search.php (criteria sidebar), the sregion is remembered but scity nope. Also, if i repeat search from criteria (select Region and City), the generated url after submit looks like:?page=search&sOrder=dt_pub_date&iOrderType=desc&sPattern=gibson&sRegion=742322&
sCity=&sPriceMin=&sPriceMax=&sCategory[]=97&
You can see that the sCity value is not passed in the url.
Finally, the dropdowns values are the region and city ids. That works fine for search BUT it seems that the default search method is to use the city and region names. You can see that by pressing the city name in breadcrumbs.