Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to move the search txt box & Language icon to the top


tamyiuluen

Recommended Posts

Posted

You can do this in one of two ways;

 

1. recreate the code of the search (not the display) and paste it in the header

2. separate the code and the display in the box module (this allows you to not only use it in the columns, but also elsewhere)

 

Both of these ways have been covered in the past here in the forum and on my blog and on Georges blog and the ebook and the template system.

Posted

<?php
echo tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get');
echo tep_draw_input_field('keywords', '', '');
echo tep_draw_hidden_field('search_in_description', '0');
echo tep_hide_session_id();
echo tep_image_submit('button_quick_find.gif', MODULE_BOXES_SEARCH_BOX_TITLE);
echo '</form>';
?>

Posted

Dear Burt,

 

Could you also advise the "Language" code.

 

Thanks

 

Matt


<?php
echo tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get');
echo tep_draw_input_field('keywords', '', '');
echo tep_draw_hidden_field('search_in_description', '0');
echo tep_hide_session_id();
echo tep_image_submit('button_quick_find.gif', MODULE_BOXES_SEARCH_BOX_TITLE);
echo '</form>';
?>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...