+ Reply to Thread
Results 1 to 3 of 3

Thread: Modification to Quick Search: Restrict to 1 Year, Not a range

  1. #1

    Modification to Quick Search: Restrict to 1 Year, Not a range

    Hello!

    We're looking to make a change to the year selection option in the quick search. Unfortunately this isn't an option in the configuration settings.

    We need to restrict this to 1 year that a user can search on, not a range of years.

    Any ideas how this can be achieved?

    Thanks!

    Quinn

  2. #2
    Hello Claire,

    You can try to change it yourself in code. Open file: ftp://templates>>your_template>>tpl>>blocks>>fields_refi ne.tpl

    find code:

    Code:
    Only registered members can view the code.
    and replace to:

    Code:
    Only registered members can view the code.
    Also you should change same code in file: ftp://templates>>your_template>>tpl>>blocks>>fields_sear ch.tpl

    Then open file: ftp://includes>>classes>>rlSearch.class.php

    find method: search and code:

    PHP Code:
    Only registered members can view the code
    and replace to:

    PHP Code:
    Only registered members can view the code
    save and check again. I hope it should work.
    Viktor,
    Flynax technical department,
    Best wishes.

  3. #3
    Thank you, Viktor! I only had to make one small adjustment. The search results wasn't showing any results. I changed this instead and it works like a charm.

    includes>>classes>>rlSearch.class.php

    Code:
    Only registered members can view the code.
    to

    Code:
    Only registered members can view the code.
    You're my boy, Viktor!

    Cheers,

    Quinn

+ Reply to Thread