Advertisement:

Author Topic: How to do : title="title + address" ?  (Read 448 times)

zatchbell95

  • Newbie
  • *
  • Posts: 9
How to do : title="title + address" ?
« on: September 30, 2015, 05:49:16 am »
Heyy !!  ;D

Everything works perfectly I just want to simplify the item post page by putting just one address request instead of two.

See here, so someone can search France on the search bar the word "France" has to be in the title. So I have to make the user type the address on the title field on the item post. But then as I use a map plugin based on the address field the user has to type two times the address : 1 time for the title and 1 time for the address field. It's kind of a pity for the user.

So I was thinking putting the address field value into the title so it's title="title + address"
I thought it was on the hItems.php file but I cannot figure it out.

Do you have a clue ? Thanks :)
« Last Edit: September 30, 2015, 05:55:53 am by zatchbell95 »

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: How to do : title="title + address" ?
« Reply #1 on: September 30, 2015, 07:31:21 pm »
@zatchbell95
Fact that you will "print" instead of title only, title + address has nothing to do with search. Search is checking for matches in database, so if you want to modify it, it needs to be in process of listing upload to database, that may be very difficult.