Home » Forum
  • If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Default Sort Order

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

  • Default Sort Order

    Two questions:

    1 - Is it possible to change the default sort order i.e., to "Sort by Date"?
    2 - Is it possible to change the words "Sort by Date" on the search template to something else?

    Please advise.

  • #2
    1.) Just link to your search page with an extra "?zoom_sort=1" parameter. For example, elsewhere on your site, you must have a "Search" link that goes to your search page, say "http://www.mysite.com/search.php".

    Change this link to be "http://www.mysite.com/search.php?zoom_sort=1"
    and now your search page would be defaulted to "sort by date" whenever your visitors access your search page.

    2.) Yes, you can change all the text that appears on the search page via the Language files. See chapter 7.1 in the Users Guide.
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment


    • #3
      You guys have built an AWESOME product!

      MOREOVER, your support is EXCELLENT.

      Ray,

      Your response was just what I was hoping for.

      Will try it out tomorrow.

      Barry

      Comment


      • #4
        More to the Story...

        1. After changing the term "Sort by Date" to "Sort by Paper:Sec.Par" the sort defaultorderreverted to "Sort by Relevance" despite the inclusion of the extra "?zoom_sort=1" parameter

        2. After clicking the term "Sort by Paper:Sec.Par" this term reverts back to "Sorted by date"

        Please advise further...

        Thank you

        Comment


        • #5
          Originally posted by FracMan View Post
          1. After changing the term "Sort by Date" to "Sort by Paper:Sec.Par" the sort defaultorderreverted to "Sort by Relevance" despite the inclusion of the extra "?zoom_sort=1" parameter
          Can you give us the URL to the search page? Perhaps you made a mistake in adding this. Remember pages may be cached by the browser. Changing the text won't have any effect on the way it handles the parameter.

          Originally posted by FracMan View Post
          2. After clicking the term "Sort by Paper:Sec.Par" this term reverts back to "Sorted by date"
          That's most likely because you only modified the text for "Sort by date" and you didn't modify the text for "Sorted by date". In the language file there are at least 4 relevant entries:

          Code:
          STR_SORTEDBY_RELEVANCE=Sorted by relevance
          STR_SORTBY_RELEVANCE=Sort by relevance
          STR_SORTBY_DATE=Sort by date
          STR_SORTEDBY_DATE=Sorted by date
          Check if you forgot to change the last line.
          --Ray
          Wrensoft Web Software
          Sydney, Australia
          Zoom Search Engine

          Comment

          Working...
          X