osCmax v2.5 User Manual
Results 1 to 5 of 5

Any way to change the quick search box size?

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 ...

      
  1. #1
    New Member
    Join Date
    Jul 2010
    Location
    Jarrell, Texas
    Posts
    14
    Rep Power
    0


    Default Any way to change the quick search box size?

    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?

  2. #2
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Lightbulb Re: Any way to change the quick search box size?

    Can't be bothered looking for where in osC, but in osCMax:
    catalog/templates/yourtemplate/boxes/search.php look for:
    PHP Code:
     $boxContent .= tep_draw_hidden_field('search_in_description','1') . tep_draw_input_field('keywords''''size="10" maxlength="30" ') . '&nbsp;' 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>'
    EJ
    Hosting plans with installation, configuration, contributions, support and maintenance.

  3. #3
    New Member
    Join Date
    Jul 2010
    Location
    Jarrell, Texas
    Posts
    14
    Rep Power
    0


    Default Re: Any way to change the quick search box size?

    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

  4. #4
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Lightbulb Re: Any way to change the quick search box size?

    Try the system-wide catalog/includes/boxes/search.php
    Hosting plans with installation, configuration, contributions, support and maintenance.

  5. #5
    New Member
    Join Date
    Jul 2010
    Location
    Jarrell, Texas
    Posts
    14
    Rep Power
    0


    Default Re: Any way to change the quick search box size?

    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.

Similar Threads

  1. Editing the quick search, search.php
    By tmundrill in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 07-22-2009, 11:45 AM
  2. where How to change the size for the template
    By ming in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 06-01-2009, 08:32 AM
  3. Can I change size of Geotrust box image?
    By Redeye_Joe in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 02-28-2006, 06:09 AM
  4. How to have Quick Search also search in Descriptions
    By ozstar in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 12-09-2005, 11:45 AM
  5. Main body text size/size of search box/adding img to footer
    By thecandypam in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 07-10-2004, 10:58 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •