PDA

View Full Version : Moving search form



yoyoman
March 19th, 2003, 09:20 AM
The snippet of code in thread 599 is great for just adding the menu without the login window beneath, but what would be the piece of code for then adding just the login window, since the page needs that somewhere as well?

Also - more specifically - is there any way to access just the search function, so I can put that somewhere by itself instead of below the menu?

Jamie
March 20th, 2003, 11:51 AM
Hi,


what would be the piece of code for then adding just the login window

If you want it surrounded by the normal nav box, it would be something like this:


<? eval(Content("Account Options"))?>

If you do not want it within a nav box, it would be:


<? include "$cart_isp_root/login.php" ?>


is there any way to access just the search function, so I can put that somewhere by itself instead of below the menu?

If you want a simple search, like what is normally under the category links, use this:

<? include "$cart_isp_root/search_simple.php" ?>

If you want one like you see when you click "advanced search", use this:

<? include "$cart_isp_root/search_advanced.php" ?>

Thanks,
Jamie