1

Topic: Quick_search and city members

Hi,


1.- I would like custom other think about homepage. I put quick_search (by city) under block login. I think is header.tpl abous siderbar... Template default_red.


2.- Put link in header where a clic shows a city (for example Paris) members. "Paris members"


thank you very much!!!!

2

Re: Quick_search and city members

How to build links to search by city

You can build a search link manually like this:

<a href="{virtual_path}index.php?m=search&issearch=1&gender1=44&gender1=45&city=brooklyn">brooklyn</a>

The above will look for members with:
- "gender1" (label of "i am" field) field set to ID of 1 (man)
- "gender1" (label of "seeking" field) field set to ID of 4 (woman)
- "city" field set to "brooklyn"

You may look up these values/ids in the control panel under 'settings - custom fields - general'.

The above code will return the results for:
men seeking women in brooklyn

Last edited by seeme101 (2009-06-17 17:48:55)

3

Re: Quick_search and city members

Hi,

The link was error search, "try again" I think not writte ok.

Could you hel me please? Is very important for me big_smile

This is capture of my config cp.

[img]http://img35.imageshack.us/img35/5299/gender.jpg[/img]


thank you!!

Last edited by soporte41 (2009-06-17 16:18:44)

4

Re: Quick_search and city members

have another try at it
the above code is directly off my site and works fine

you will need to look in your control panel and replace my "values" for you own
in my database my values are:
gender1=44 ---»male

gender1=45 ---»  female

city=brooklyn ---»Brooklyn

5

Re: Quick_search and city members

is there any way to get a drop down with the city?