+ Reply to Thread
Results 1 to 8 of 8

Thread: How to change the search page?

  1. #1

    How to change the search page?

    I can change the quick search fields but the Search page has the same details.
    Search Straight Male Escorts

    How do I make the search page more detailed?

    I have created a new (bigger) search form but how do I associate this with the Search page?


    Thanks
    Kenton

  2. #2
    You have to make few changes to the code to use different than quick search form there..

    Please try to make changes to the php code, file is includes/controllers/search.inc.php

    code which preparing the search forms

    PHP Code:
    Only registered members can view the code
    i'd change it like this

    PHP Code:
    Only registered members can view the code
    It will allow to use different search form for 'listings' listing type.

    Hope this helps
    Last edited by Mike; July 30, 2013 at 06:23 AM.

  3. #3
    Didn't seem to make any difference :confused:

  4. #4
    Master
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    421
    The difference is follow:

    PHP Code:
    Only registered members can view the code
    your_new_form_key = you must change this with the key that you have assigned for your custom search field.

    I think you must also update the page cache after such changes. (refresh)
    Last edited by Steffen Buschkemper; July 30, 2013 at 06:30 AM.

  5. #5
    Quote Originally Posted by Kenton Mcleod View Post
    Didn't seem to make any difference :confused:
    Strange, please pm me website details to check it, if still not working as expected.

  6. #6
    Umm, yes, I did try that.

  7. #7
    Your listing type key is not listings, in the code i provided you had to use right listing type key, i've corrected it - now working good.

  8. #8
    Awesome!
    One last thing on this ....
    Height and Weight are shown as:
    From .. To .. Unit
    However
    Hourly rate is shown as
    From .. to <newline>
    Currency

    Is there an easy way to put currency dropdown in line with values the same as height and weight?

    Kenton

+ Reply to Thread