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]