Now that I have increased the size of the text, and figured out how to change the column width, my search box is looking kind of small. I search the forums and the Wiki and found nothing. Any ideas?
This is a discussion on Any way to change the quick search box size? within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Now that I have increased the size of the text, and figured out how to change the column width, my ...
Now that I have increased the size of the text, and figured out how to change the column width, my search box is looking kind of small. I search the forums and the Wiki and found nothing. Any ideas?
Can't be bothered looking for where in osC, but in osCMax:
catalog/templates/yourtemplate/boxes/search.php look for:
EJPHP Code:$boxContent .= tep_draw_hidden_field('search_in_description','1') . tep_draw_input_field('keywords', '', 'size="10" maxlength="30" ') . ' ' . 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>';
Hosting plans with installation, configuration, contributions, support and maintenance.
I don't find any search.php file in any of the template/boxes folders, including mine. I finally found a search.tpl.php file in another folder (maybe the help folder, can't remember), but it didn't have any sizes in the file that could be changed. I am using version osCMax 2.0.25 if that helps. If there is a search.php file somewhere, I don't know where it would be.
Last edited by benhambaseballcards; 07-22-2010 at 06:33 AM. Reason: More detail
Try the system-wide catalog/includes/boxes/search.php
Hosting plans with installation, configuration, contributions, support and maintenance.
LMAO!! That is the file you were talking about, but that only changed how many characters the box can hold! That is funny. That is perfectly OK to change also, but I still would like to make the box itself wider, if it is possbile. It just allows the customer to see more of what they are typing in the box.
I am assuming that the 10 in that same line with the 30 changes the height of the box, so it makes me wonder if another number would need to be added in to that line for width. Just a thought.
Bookmarks