Imi78 Posted April 26, 2009 Posted April 26, 2009 Hi, i am looking for a very simple search field in the header. Just a Searchfield and a Go-Button. The Contribs i tested so far were not simple (categories-pull-down-menu) or didnt keep the SIDs, which is not good cause i am not forcing cookies. So are there any suggestions how to get a simple search into the header?? Greets ImI
Imi78 Posted April 27, 2009 Author Posted April 27, 2009 THX! I added this line of code <?php echo tep_draw_form('search', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get') . tep_draw_hidden_field('search_in_description','1') . tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH+10) . 'px"') . ' ' . tep_hide_session_id() .tep_image_submit('button_search.gif', BOX_HEADING_ADVSEARCH, 'align="middle"') . '</form>'; ?> which is very similar to your suggested one. Now i have got one minor problem left: The search button wont valign in the center. It ALWAYS is slightly above or beneath the search-field, which is centered. Any idea?? ImI
Recommended Posts
Archived
This topic is now archived and is closed to further replies.