Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Search in new box type


Guest

Recommended Posts

I want to put the following search code into a box type (searchBox) other than a normal info box. I have created a new style for this box as I dont want separate heading and contents section (I want the box to look differnent to other info boxes) - does that make sense?

 

I have tried amend the code in many different ways but without success

 

<?php

 $info_box_contents = array();

 $info_box_contents[] = array('text' => BOX_HEADING_SEARCH);



 new infoBoxHeading($info_box_contents, false, false);



 $info_box_contents = array();

 $info_box_contents[] = array('form' => tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'),

                              'align' => 'right',

                              '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><br>');



 new infoBox($info_box_contents);

?>

 

(I have already dumped the advanced search)

 

Any help gratefully appreciated

 

Paul

Link to comment
Share on other sites

Paul,

 

I have made a different search box for my site. http://www.cralyn.com

 

Take a look and let me know if this is something you would be looking at for your site. Or create the search box using your html editor and send me the code so I can create a new box for you.

 

Regards

Craig

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...