PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

different results linking based on result URL

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • different results linking based on result URL

    Hello,

    Is there a way to configure the search results links so that the target browser window (current window vs. new window) varies based on the URL of the result link?

    Our site's current behavior is:
    - Search results links to a plugin file (.PDF, .DOC, .XLS) open in new window
    - Search results links to .aspx files open in current window

    The desired behavior is:
    - Search results links to a plugin file (.PDF, .DOC, .XLS) open in new window (no change is needed to this setting)
    - Search results links to .aspx files in the /tool directory open in new window
    - All other .aspx files (those NOT in the /tool directory) open in current window

    Is that behavior possible? If what I'm describing isn't clear, please let me know.

    Thanks for your help!

  • #2
    There is no built-in option to get the last two behavior.
    You would need to write some custom code to make this work like you want. Perhaps a script to post-process/format the results (you can get XML results from the CGI).

    For other people reading this, on the "Scan options" configuration window there is a check box called , "Open all plugin file formats in a new window".

    When this option is enabled, all plugin supported file formats (e.g. PDF, DOC, PPT files, etc.) will open in a new window when you click on them in the search results.

    There is also an option in the "Search page" configuration window to alter the behavior of all links in the search results, to open in a new window or frame.

    But neither of these options solve the case above.

    Comment


    • #3
      Originally posted by kkaminski View Post
      Is there a way to configure the search results links so that the target browser window (current window vs. new window) varies based on the URL of the result link?
      We need this too. We want one search pane to index several manuals which have different URLs. If the user clicks a link to a page in the manual they're reading, it should open in the BODY. If the user clicks a link to a manual with a different URL, it should open in a new window. It would be incredibly useful for us.

      PS - been using Zoom for years and love it!

      Comment

      Working...
      X