test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • mediaengine Friend
    #179747

    Bought the JA K2 Filter and Search Module – worked great! But noticed that when you do a search, then press back (in firefox) and do another search from the module again, it would search using the same text as the previous search. Had a look through the source, couldn’t see any obvious errors etc (other then the unusual jQuery, but thats just me), then I found it:

    File: /mod_jak2_filter/tmpl/default.php
    Line 125:

    <input type="text" name="input_searchword" id="input_searchword" class="inputbox" value="<?php echo $search_word?>" />

    The PHP is is missing a ; hah! Added it in, worked 100% every time.

    Fix:

    <input type="text" name="input_searchword" id="input_searchword" class="inputbox" value="<?php echo $search_word; ?>" />

    Amazing how such a miniscule simple little thing can break a whole module, yay for PHP.

    Sherlock Friend
    #463727

    Hi mediaengine,

    I checked demo of jak2_filter module and did not see the mentioned problem 🙂 anyways it’s good if that’s helping you !

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Sherlock 12 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum