WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • show menu2 error in search page
  • Print
Pages: [1]   Go Down

Author Topic: show menu2 error in search page  (Read 4091 times)

gila

  • Guest
show menu2 error in search page
« on: October 07, 2009, 03:27:00 PM »
hi, i use this code to show the menu

Code: [Select]
<?php 
if (SHOW_MENU) { 
// navigation menu
show_menu2(0, SM2_ROOT+1);
} 
?>


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: [Select]
<form name="search" id="search" action="<?php echo WB_URL; ?>/search/index.php" method="get">
<input type="hidden" name="referrer" value="<?php echo defined(&#39;REFERRER_ID&#39;) ? REFERRER_ID : PAGE_ID; ?>" /><span class="titolo3"><?php echo $TEXT[&#39;SEARCH&#39;]; ?></span><br/>
<input name="string" type="text" value="" />
<a href="#" onClick="document.search.submit();" style="vertical-align:bottom;" alt="<?php echo $TEXT[&#39;SEARCH&#39;]; ?>"><img src="<?php echo TEMPLATE_DIR; ?>/img/vai.png" /></a>
</form>

in the settings section i selected the usual template i use in the whole site, so what can i do?
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • show menu2 error in search page
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2