Hi Seichinha
mod_search module has the ability to limit results.
I found out the problem. And I share it here in case someone else needs it.
the code for the limit box is:
- Code: Select all
<?php if($this->total > 0) : ?>
<div class="search_limit">
<label for="limit">
<?php echo JText::_( 'Display Num' ); ?>
</label>
<?php echo $this->pagination->getLimitBox( ); ?></div>
This code in yourShop template is in the templates override folder html/com_search/search/default_results.php
Now here is the problem!
getLimitbox only works properly within a form.
So moving the code back to default_form.php inside the form (where it initially belongs) did the trick.
It is working now fine. I can limit the results just by selecting the number in the limit box
Regards