Tak najprosciej: w pliku filetersearch.module.php zamien :
function outputRangeDisplay() {
$output = '';
$noDecimals = ($this->currency->decimals == 0 ? TRUE : FALSE);
if($this->ranges != FALSE && count($this->ranges) > 0) {
$output .= '
<div class="filterGroup" rel="ranges">
<div class="filterEntry">
<a href="javascript:void(0)"><h3 onclick="show(\'menu21\')">'.$this->l('Price Ranges', 'filtersearch.module').'</h3></a>
<ul style="display: none" id="menu21">';
foreach($this->ranges AS $range) {
$rangeMin = ($noDecimals ? number_format($range['digitMin'], 2, '', '') : $range['digitMin']);
$rangeMax = ($noDecimals ? number_format($range['digitMax'], 2, '', '') : $range['digitMax']);
$output .= '
<li class="range_' . $rangeMin . '_' . $rangeMax . ' filterEnabled;" >
<input type="checkbox" name="range" value="' . $rangeMin . '_' . $rangeMax . '" />
<a>' . $range['min'] . ' - ' . $range['max'] . '</a> (<span class="pCount">' . $range['count'] . '</span>)
</li>';
}
$output .= '
</ul>
</div>
</div>';
return $output;
}
}
na:
function outputRangeDisplay() {
$output = '';
$noDecimals = ($this->currency->decimals == 0 ? TRUE : FALSE);
if($this->ranges != FALSE && count($this->ranges) > 0) {
$output .= '
<div class="filterGroup" rel="ranges" style="display:none;">
<div class="filterEntry">
<a href="javascript:void(0)"><h3 onclick="show(\'menu21\')">'.$this->l('Price Ranges', 'filtersearch.module').'</h3></a>
<ul style="display: none" id="menu21">';
foreach($this->ranges AS $range) {
$rangeMin = ($noDecimals ? number_format($range['digitMin'], 2, '', '') : $range['digitMin']);
$rangeMax = ($noDecimals ? number_format($range['digitMax'], 2, '', '') : $range['digitMax']);
$output .= '
<li class="range_' . $rangeMin . '_' . $rangeMax . ' filterEnabled;" >
<input type="checkbox" name="range" value="' . $rangeMin . '_' . $rangeMax . '" />
<a>' . $range['min'] . ' - ' . $range['max'] . '</a> (<span class="pCount">' . $range['count'] . '</span>)
</li>';
}
$output .= '
</ul>
</div>
</div>';
return $output;
}
}
<div class="filterGroup" rel="ranges" style="display:none;"> - w zasadzie to jest tylko wyłączenie wyswietlania, ja troszke mam przerobiony ten kod, aby domyślnie atrybuty były zwinięte.