WebsiteBaker Support (2.8.x) > Templates, Menus & Design
show menu2 error in search page
(1/1)
gila:
hi, i use this code to show the menu
--- Code: ---<?php
if (SHOW_MENU) {
// navigation menu
show_menu2(0, SM2_ROOT+1);
} ?>
--- End code ---
and it works fine, except in the search result page where it show ererypage of every level :?
this is the form i use to perform the search:
--- Code: ---<form name="search" id="search" action="<?php echo WB_URL; ?>/search/index.php" method="get">
<input type="hidden" name="referrer" value="<?php echo defined('REFERRER_ID') ? REFERRER_ID : PAGE_ID; ?>" /><span class="titolo3"><?php echo $TEXT['SEARCH']; ?></span><br/>
<input name="string" type="text" value="" />
<a href="#" onClick="document.search.submit();" style="vertical-align:bottom;" alt="<?php echo $TEXT['SEARCH']; ?>"><img src="<?php echo TEMPLATE_DIR; ?>/img/vai.png" /></a>
</form>
--- End code ---
in the settings section i selected the usual template i use in the whole site, so what can i do?
Navigation
[0] Message Index
Go to full version