Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Search box & Search botton width control

    PS: That's assuming Template Monster didn't screw it up.

  2. #2
    Join Date
    Aug 2011
    Posts
    46
    Plugin Contributions
    0

    Default Re: Search box & Search botton width control

    Thanks,

    I'm pretty sure it's not one of those Template Monster monstrosities.
    http://www.zen-cart.com/index.php?ma...roducts_id=979

  3. #3
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Search box & Search botton width control

    Nah, it isn't. The number in the name threw me off. That's how they do theirs.

  4. #4
    Join Date
    Aug 2011
    Posts
    46
    Plugin Contributions
    0

    Default Re: Search box & Search botton width control

    I was wondering why I couldn't find it. The template actually did not have a tpl_search_header.php in includes/mytemplate/sideboxes

    but your advice was correct. It was the file being called.

    I went and pulled the one from template_default which is part of the std Zen installation, widened the boxes, installed it in
    includes/mytemplate/sideboxes/tpl_search_header.php

    and it worked fine.

    Thanks again for a quick and accurate reply that not only helped me fix the issue but added to my understanding of how/where Zen Cart is retreving files and how to add one more to the override system in prep for the big leap to 1.5

  5. #5
    Join Date
    Aug 2011
    Posts
    46
    Plugin Contributions
    0

    Default Re: Search box & Search botton width control

    Correction:

    My custom template: includes/templates/mytemplate/sideboxes/

    did not have a custom version of tpl_search_header.php

    I pulled the version from

    includes/templates/template_default/sideboxes/

    which is part of the standard Zencart installation.
    I modified it and loaded it as

    includes/templates/mytemplate/sideboxes/tpl_search_header.php

    Just in case anyone needs this same override and the file isn't part of your custom template.

    "Never let a newbie type when they're excited that the mod works"

 

 

Similar Threads

  1. need to add width to search box
    By mek113 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 18 Oct 2011, 11:08 PM
  2. Search text input box width (in side box)
    By joshuaholland in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 7 Apr 2010, 01:11 PM
  3. Search Botton is too Small in Header
    By gregjs in forum General Questions
    Replies: 0
    Last Post: 13 Jun 2009, 12:58 AM
  4. Changing width of top search box
    By timotheos in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 24 Feb 2007, 09:27 PM

Posting Permissions

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