How do I clean up the search results page?
Everyone with a lot of searchable modules on his site knows this problem. For every module the name is displayed plus the information that nothing was found inside this module. Why not displaying search results a different way? Only showing links in a module where results occur? Here a how-to to remove the negative information for the modules with no results. Open xoopsroot/search and make some changes. Look for the first appearance of
include XOOPS_ROOT_PATH."/header.php";
$nothingthere = 1;
<h4>...
echo ""
._SR_NOMATCH."";
} else {
$nothingthere++;
echo ""
.$myts->makeTboxData4Show($module->getVar('name'))."";
include "include/searchform.php";
if ($nothingthere == '1') {
echo ""
._SR_NOMATCH."";
}
echo '
.$search_url.'">'._SR_SHOWALLR.'';
echo '';
This Q&A was found on XOOPS Web Application System : https://xoops.org/modules/smartfaq/faq.php?faqid=457