Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • monimono Friend
    #184484

    hi
    is it possible hide the search button when using Auto Filter because button is useless in this case.
    i can do it with css but this is not a good idea.
    thanks

    MoonSailor Friend
    #481592

    Hi,

    Search Button does not auto hide when using “Auto Filter”. But we can add this improvement in the next version. You can follow it here : http://pm.joomlart.com/browse/JAK2FILTER-33

    For now you can fix it as :

    – Open file “default.php” with path “modules/mod_jak2filter/tmpl/” ( if you override it in template, open it in path “YOUR_TEMPLATES/html/mod_jak2filter/”)
    – Find code :

    [PHP]
    <li <?php echo $style;?> class=”last-item”>
    <input class=”btn” type=”submit” name=”btnSubmit” value=”<?php echo JText::_(‘SEARCH’); ?>” />
    <!–<input class=”btn” type=”button” name=”btnReset” value=”<?php echo JText::_(‘RESET’); ?>” onclick=”$(‘<?php echo $formid;?>’).reset();” />–>
    </li>
    [/PHP]
    And replace it by :

    [PHP]
    <?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::_(‘SEARCH’); ?>” />
    <!–<input class=”btn” type=”button” name=”btnReset” value=”<?php echo JText::_(‘RESET’); ?>” onclick=”$(‘<?php echo $formid;?>’).reset();” />–>
    </li>
    <?php endif; ?>
    [/PHP]

    monimono Friend
    #481694

    MoonSailor you are KING!!!

    Will I be able to update for future versions?

    thanks

    MoonSailor Friend
    #481812

    Hi,

    It updated for release in next version.

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

This topic contains 4 replies, has 2 voices, and was last updated by  MoonSailor 11 years, 10 months ago.

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