ryanf Posted May 28, 2004 Posted May 28, 2004 Hey, I have a search box in my header that works great but has one problem. On product_info pages it keeps filling itself with the product description and I can't figure out why. It does it on non of the other pages. Its annoying here is my code in the header: <tr class="header"> ?<td valign="middle" align="right"> ? Search: <?php echo tep_draw_form('advanced_search', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'). tep_draw_input_field('keywords',' ','size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . ' ' . tep_draw_pull_down_menu('categories_id', tep_get_categories(array(array('id' => '', 'text' => TEXT_ALL_CATEGORIES))))?> ?</td> ?<td valign="middle" width="30" align="center"> ?<input type="image" src="images/index/go_off.gif" border="0" alt="Quick Find" title=" Quick Find "> ?</form> ?</td> </tr> Thanks for the help. If I was crafty, this would be a funny signature.
vasttech Posted May 28, 2004 Posted May 28, 2004 Can you post the URL so we may take a look? osCommerce Knowledge Base osCommerce Documentation Contributions
ryanf Posted May 28, 2004 Author Posted May 28, 2004 www.abdulky.com Click on any product Thanks for helping Ryan If I was crafty, this would be a funny signature.
vasttech Posted May 28, 2004 Posted May 28, 2004 Somehow the value for the input field, keywords, is being set. You may have to look at the rest of the code on that page. osCommerce Knowledge Base osCommerce Documentation Contributions
ryanf Posted May 28, 2004 Author Posted May 28, 2004 great catch, it was getting set to set the meta description for the page, so I just reset it to blank right before the call to the header and now it works. Thanks! If I was crafty, this would be a funny signature.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.