Home » Forum


No announcement yet.

ZoomShowRecommended() Display Issue

  • Filter
  • Time
  • Show
Clear All
new posts

  • ZoomShowRecommended() Display Issue


    I'm using V6, build 1008 with javascript.

    I've modified the search.html display by adding individual template tags as needed, with much success.

    However, I've started to create Recommended Links by adding them in the config file. The problem I'm having is that now any tag(s) listed AFTER recommended links in the search.html file do not display properly. For example,
    when I place the recommended links tag above the show result tag this is what the search result displays:


    recommended links section displays here
    [displays as expected]

    [actually displays "ZoomShowResults();" (minus quotes) and this becomes the end of the search page]


    When I move the recommended links tag around the page any tag(s) that immediately follows recommended links does not behave as expected.

    If I remove the recommended links tag completely, the page displays correctly (but of course, recommended links are not displayed), and likewise if I remove the recommended links info from the config file, the page displays correctly (now, there's nothing to display).

    Here's what I have in my search.html file:

    <script language="JavaScript">ZoomInitSearch();</script>
    <!--start search form-->
    <script language="javascript">ZoomShowFormStart();</script>
    <script language="javascript">ZoomShowSearchBox();</script>
    <script language="javascript">ZoomShowSearchButton();</script>
    <script language="javascript">ZoomShowFormEnd();</script>

    <!--end search form-->

    <script language="javascript">ZoomShowHeading();</script>
    <script language="javascript">ZoomShowSummary();</script>
    <script language="javascript">ZoomShowCatSummary();</script>
    <script language="javascript">ZoomShowRecommended();</script>
    <script language="javascript">ZoomShowResults();</script>
    <script language="javascript">ZoomShowPageNumbers();</script>

    I hope I explained myself clearly.......

    Any suggestions???


  • #2
    We have confirmed this is a bug in the current JavaScript release.

    On line 1569 of "search.js" is this:

    When it should be this:

    Because that div tag wasn't closed properly, it caused a bit of havoc in the resultant HTML when you use ZoomShowRecommended().

    It will be fixed in the next public release (V6.0 build 1009). Thank you for bringing it to our attention.
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine


    • #3
      Thank you!


      • #4
        Works great in 1009!

        (and thanks for posting the workaround/correction, I was manually correcting the search.js file after each index until I downloaded the patch - it was very helpful as I continued to work on my documents!)

        Thanks again!