Results 1 to 4 of 4

Thread: Search Result logic

  1. #1
    Join Date
    Aug 2009
    Posts
    79

    Default Search Result logic

    Hi Forum

    When searching a particular property class and there are no results found OR redirects the user back to the search page for that particular property class. Instead, I want to redirect the user back to the search page for all property classes. How do I do that?

  2. #2
    Join Date
    Aug 2009
    Posts
    79

    Default Re: Search Result logic

    can anyone help me out with this

  3. #3
    Join Date
    Mar 2008
    Location
    New York, NY
    Posts
    193

    Default Re: Search Result logic

    Had the same problem but had a quick fix for it. I'm also in NYC.
    OR Rulezzzz

  4. #4
    the_sandking's Avatar
    the_sandking is offline hadron remnant - Moderation Fachmann
    Join Date
    Apr 2003
    Location
    Nullspace
    Posts
    5,289

    Default Re: Search Result logic

    Use an HTML meta "refresh" and place it inside the {no_search_results_block} tags in your search_results template and you can redirect to any page of your liking.

    <meta http-equiv="refresh" content="0; url=http://example.com/">
    "Much of what looks like rudeness in hacker circles is not intended to give offense. Rather, it's the product of the direct, cut-through-the-BS communications style that is natural to people who are more concerned about solving problems than making others feel warm and fuzzy."

    "We gotta' go to the crappy town where I'm a hero!"
    -Hoban 'Wash' Washburne 2485-2519


    "When you’re born you get a ticket to the freak show. When you’re born in America, you get a front-row seat.."
    -George Carlin 1937-2008

    New to Open-Realty® and need help? Check the:
    -OR DOCUMENTATION -

    Important: Read this at least once in your lifetime
    How To Ask Questions The Smart Way

Similar Threads

  1. Search listings logic
    By amcast in forum General Help (CLOSED)
    Replies: 1
    Last Post: 03-13-2010, 02:35 PM
  2. OR Search Logic
    By vrwired in forum General Help (CLOSED)
    Replies: 1
    Last Post: 07-18-2008, 02:27 PM
  3. Neither of the two search fields using OR logic show up
    By zarathustra in forum General Help (CLOSED)
    Replies: 12
    Last Post: 05-15-2007, 03:13 AM
  4. Code for Search logic
    By frazerlongmuir in forum General Help (CLOSED)
    Replies: 1
    Last Post: 04-24-2007, 08:30 AM
  5. Search Logic
    By tonynoriega in forum General Help (CLOSED)
    Replies: 1
    Last Post: 04-23-2007, 02:48 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •