Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Search Box


tallberg

Recommended Posts

Posted

Hi

 

Im trying to remove the search from the box and place it in my navigation.

so far ive created a new box file and included it in the navigation.

 

<?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'), 'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . ' ' . 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>');

 

 

 

for($i; $i<sizeof(info_box_contents); $i++)

{

echo info_box_contents[$i];

}

?>

Posted
Hi

 

Im trying to remove the search from the box and place it in my navigation.

so far ive created a new box file and included it in the navigation.

Is there a problem you're having? If so, you didn't state it...

 

Richard.

Richard Lindsey

Archived

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

×
×
  • Create New...