Drapeta Posted July 11, 2010 Posted July 11, 2010 Hi! After search with Quick Find, the Quick Find window still shows me the item I was searching for... What to do to have this Quick Find window blank after search command? THANKS!
germ Posted July 11, 2010 Posted July 11, 2010 /catalog/includes/boxes/search.php Find: tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') Replace with: tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"','','false') I tried this so I know it works (no runs, no drips, no errors) but you should still backup the file before you change it. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Drapeta Posted July 12, 2010 Author Posted July 12, 2010 /catalog/includes/boxes/search.php Find: tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') Replace with: tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"','','false') I tried this so I know it works (no runs, no drips, no errors) but you should still backup the file before you change it. Now I have: 'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"','','false') . ' ' . 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>'); ... and doesn't work :| THX
germ Posted July 12, 2010 Posted July 12, 2010 OK. I screwed up when I posted the code: >_< tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"','',false) That works for me and I copy/pasted it right from my php source. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.