PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Create Hyperlink with Keywords

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

  • Create Hyperlink with Keywords

    Hello,

    I'm using the CGI version of zoom with a search page that php includes the search index file.

    I am looking to create hyperlinks that display search results for keywords contained in the links.

    Example:

    This would pull up all search results in the video category containing the keywords chef gerry.

    Code:
    [url="zsearch.php?category=videos&keywords=chef,gerry"]Videos by Chef Gerry[/url]
    Is it possible to do this?

    Thanks for any info!

    -Matt

  • #2
    Yes. Take a look at the URL of the search page after you enter in a search query for an example query.

    But, using your example, it should look more like:

    Code:
    [url="zsearch.php?zoom_query=chef+gerry&zoom_cat=1"]Videos by Chef Gerry[/url]
    Where 1 is the category number for "videos" etc.

    Some of the other parameter names can be found mentioned here:
    http://www.wrensoft.com/zoom/support...tml#searchform

    Or you can just look at the URL of the search page and determine what you need.
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment


    • #3
      Is there a way for me to specify category by name versus number?

      Code:
      zsearch.php?zoom_query=grilling&zoom_per_page=10&[b]zoom_cat=Videos[/b]&zoom_and=1&zoom_sort=0
      If I reorder categories the current number-based links break.

      Thanks!

      -Matt

      Comment


      • #4
        No, unfortunately not, categories must be specified by number in the URL query.
        --Ray
        Wrensoft Web Software
        Sydney, Australia
        Zoom Search Engine

        Comment

        Working...
        X