Jump to content

MyR

Members
  • Content count

    19
  • Joined

  • Last visited


Reputation Activity

  1. Like
    MyR reacted to mpiscopo in Search product description from initial searchbox?   
    Looking at the discussion Matt pointed to earlier I found that I could make one simple change to get the same results you're trying for (to have searches from the left column to default to searching descriptions and names). Below is what I changed [note: the only change I did was to add the tep_draw_hidden_field('search_in_description', '1') at the end of the line]:
     
    Original:
    '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>');
     
    New:
    '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 . tep_draw_hidden_field('search_in_description', '1') . '</b></a>');
  2. Like
    MyR reacted to mutter in Search Enhancement by Paul Whiter... MS2 ???   
    For Opera
     
    Try changing:
    <input type="submit" value="New Entry" name="add" method="post" />
     
    To:
    <input type="submit" value="New Entry" name="add">
×