Advertisement:

Author Topic: City area, help.  (Read 1287 times)

megalodon

  • Newbie
  • *
  • Posts: 3
City area, help.
« on: November 11, 2013, 09:11:34 pm »
I would like to show only city areas in the right panel of the front page.
I do not wish to show the current location as is. e.g Cities.
Anyone managed to do such thing? I've already browsed all the threads and google, but I was not able to find out how.
Maybe some SQL code is needed to leech the information from the field s_city_area in the  t_item_location table ?
I would like to list the areas in the front page panel with links too. Showing all listings from the specified city area.
Anyone, please help. I need this asap.

ps. I think that a function must be created in hSearch.php, which will gather the city area information from the database.
then the function shall be called in main.php , but these are only suggestions. I have no idea how to do this. Even no idea if this is the right way