OSCMAX v1.7
Has anyone successfully integrated a search in the header of the mainpage.tpl file. I have tried everything I can and it just won't work. It duplicates the command button for example if you try and sign up and click continue it takes you to advanced search.
this is as close as I have gotten.
Problem with this is though it leaves the word "Array" at the top of the box and I have no idea where its coming from.Code:<?php $info_box_contents = array(); $info_box_contents[] = array('form' => tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'), 'align' => 'left', 'text' => tep_draw_input_field('keywords', 'Quick Search', ' onFocus="emptyQuicksearch()" size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . '&nbsp;' . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . '<br>' . BOX_SEARCH_TEXT . '<br><a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '"><b>' . BOX_SEARCH_ADVANCED_SEARCH . '</b></a>'); new infoBox($info_box_contents); ?>
thanks,





LinkBack URL
About LinkBacks






Bookmarks