Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • otomol Friend
    #188388

    I found a RESET button for jak2filter inside mytemplate/modules/mod_jak2filter/tmpl/default.php

    Now i would like know how to activate it.

    This is the code:

    [PHP]if($params->get(‘auto_filter’,1)==0):
    ?>
    <li <?php echo $style;?> class=”last-item”>
    <input class=”btn” type=”submit” name=”btnSubmit” value=”<?php echo JText::_(‘JAK2SEARCH’); ?>” />
    <!–<input class=”btn” type=”button” name=”btnReset” value=”<?php echo JText::_(‘RESET’); ?>” onclick=”$(‘<?php echo $formid;?>’).reset();” />–>
    </li>
    <?php [/PHP]

    And also inside the same question, How can a keep the jak2filter box where it is and avoid refreshing the whole website all the way to the top?

    HeR0 Friend
    #496631

    Hi Otomol,

    If you want to activate it, you could remove comment string

    <input class="btn" type="button" name="btnReset" value="<?php echo JText::_('RESET'); ?>" onclick="$('<?php echo $formid;?>').reset();" />

    <blockquote>How can a keep the jak2filter box where it is and avoid refreshing the whole website all the way to the top?</blockquote>
    Because this search form is running with normal method so that the page need refreshing to query data from source. If you don’t want to refresh the page, you need a developer to achieve. That is quite big task.

    Regards

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

This topic contains 2 replies, has 2 voices, and was last updated by  HeR0 11 years, 5 months ago.

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