Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Assistance With Customization of Search


jlm

Recommended Posts

Posted

Hi,

 

I'm putting together an osCommerce site:

http://alpha.sitelutions.com/~mfausto1/oscommerce/

 

I want the search to be where it is at, but would like to remove the "infobox" style that is included. Here is the code I'm using there (near top right) in the header.php:

 

<?php

 $info_box_contents = array();

 $info_box_contents[] = array('form'  => '<form name="quick_find" method="get" action="' . tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false) . '">',

                              'align' => 'center',

                              'text'  => $hide . '<input type="text" name="keywords" size="10" maxlength="30" value="' . htmlspecialchars(StripSlashes(@$HTTP_GET_VARS["keywords"])) . '" style="width: ' . (BOX_WIDTH-15) . 'px"> ' . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . ' ' . ' <a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '"><b>' . BOX_SEARCH_ADVANCED_SEARCH . '</b></a>'

                             );

 new infoBox($info_box_contents);

?>

 

Thanks in advance for any assistance.

 

Jackie

Archived

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

×
×
  • Create New...