Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Search in header with simple template system


mintpeel

Recommended Posts

Hi folks,

 

mm i dont expect anyone will know this off the top of thier head but here goes,

 

Im wanting to add a search in header using this code

 

<td align="right" valign="middle"><?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_image_submit('button_search.gif', BOX_HEADING_ADVSEARCH, 'align="middle"')  . '</form>'; ?>

 

Since i am using the sts when i add this code to the header nothing happens, in fact i can delete most of the header code, and the header still appears wihtout errors..lol

 

Anywayi tried adding just the -echo to </form>- section to the sts user code but this doesnt work either, any wise people know how to solve this?

 

 

Thanks in advance

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...