I'm having an issue with my relocated search box. I've moved it to the left_bar and all is fine except when I try to use it within menu.tpl. I can either get the header from menu.tpl or the search box to show up depending on what I comment out. I've added height to the container it's in using CSS but that doesn't seem to work either.
Here's my search.tpl file with the menu.tpl/capture commented out so that the search box shows up. If I leave these lines active I only see the header.
Code:
{* {capture name=menu} *}
<div class="search">
<div class="valign-middle">
<form method="post" action="search.php" name="productsearchform">
<input type="hidden" name="simple_search" value="Y" />
<input type="hidden" name="mode" value="search" />
<input type="hidden" name="posted_data[by_title]" value="Y" />
<input type="hidden" name="posted_data[by_descr]" value="Y" />
<input type="hidden" name="posted_data[by_sku]" value="Y" />
<input type="hidden" name="posted_data[search_in_subcategories]" value="Y" />
<input type="hidden" name="posted_data[including]" value="all" />
{strip}
<a href="search.php" class="link"><img src="{$AltImagesDir}/vivid_dreams/advsearch.gif" alt="" /></a>
<input type="text" name="posted_data[substring]" class="text" value="{$search_prefilled.substring|escape}" />
{include file="customer/buttons/button.tpl" type="input" style="image"}
{/strip}
</form>
</div>
</div> {* {/capture}
{include file="menu.tpl" dingbats="rarrow.gif" menu_title=$lng.lbl_part_number_search=$smarty.capture.menu cellpadding=$fc_cellpadding} *}