37
One more thing T
@ /templates/blocks/mysearch_block_last_search.html
<{foreach item=onesearch from=$block.searches}>
<tr class="<{cycle values="even,odd"}>"><td align='center'><{$onesearch.keyword}></a></td></tr>
<{/foreach}>
should be:
<{foreach item=onesearch from=$block.searches}>
<tr class="<{cycle values="even,odd"}>"><td align='center'><{$onesearch.link}><{$onesearch.keyword}></a></td></tr>
<{/foreach}>
Along with ( /blocks/mysearch_last_search.php ) :
$search['link'] = "<a href='".XOOPS_URL.'/search.php?query='.$oneelement->getVar('keyword')."&action=results' target='_blank'>";
Turning into this:
$search['link'] = "<a href='".XOOPS_URL.'/modules/mysearch/search.php?query='.$oneelement->getVar('keyword')."&action=results'>";
And in this line ( a bit above ) I needed to hard code it - so it probably should also be a block $var
$critere->setSort('datesearch');
// TZ for hard-coded limit $critere->setLimit($visiblekeywords);
$critere->setLimit(5);
Since it's taking the $visiblekeywords from the module-wide preferences also for the block.
I didn't looked on all the blocks, just on this one ...