Results 1 to 8 of 8
  1. #1

    help question Delete default search text in search box when clicked

    I have edited what the default text was in the search box with the help of a very helpful zen forum user. However, I have just noticed then when I click in the search box it I have manually delete the text before typing in what I want to search for. Is there a way to make it where if a user clicks in the search box it clears it and they can just type what they are looking for. Thanks for any help.

    My site is www.jaylyns.com Just a note: this site contains adult material.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Delete default search text in search box when clicked

    What did you do to change the default text? The behavior in a stock install is to disappear when clicked.

    BTW- the default text could have been changed by editing the language file.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3

    Default Re: Delete default search text in search box when clicked

    That's how I changed it. In the language file i just changed it within the quotes from search to what I wanted it to say. Don't believe I changed anything else to where it should have done that.

  4. #4
    Join Date
    Mar 2004
    Posts
    688
    Plugin Contributions
    0

    Default Re: Delete default search text in search box when clicked

    Yep.. for poops and piddles I tried using an apostrophe in there on one of my sites and my site behaves the same. The existing type stays. It doesn't like the apostophe! Now - How to fix that? Wish I could help.
    Marg

  5. #5

    Default Re: Delete default search text in search box when clicked

    Everywhere else I have used an apostrophe I proceeded it by / and it works fine. Thought it would do the same here in the search box. Worse case I'll take the apostrophe out. But if someone else knows another fix to this please let me know. Thanks.

  6. #6
    Join Date
    Jun 2008
    Posts
    35
    Plugin Contributions
    0

    Default Re: Delete default search text in search box when clicked

    How did you change the text in the search box? I need to do the same thing, and I could not find your original posts for this.

    Thank you

  7. #7
    Join Date
    Jan 2011
    Posts
    7
    Plugin Contributions
    0

    Default Re: Delete default search text in search box when clicked

    /includes/languages/english/header.php

  8. #8
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,107
    Plugin Contributions
    11

    Default Re: Delete default search text in search box when clicked

    Editing /includes/languages/english/header.php should be saved to any custom template folder (/includes/languages/english/CUSTOM/header.php where CUSTOM is your template.
    Using classic or template default will only create problems at upgrade time.

 

 

Similar Threads

  1. top search text box and search button not vertically aligned
    By HeyIts007 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 16 Oct 2010, 05:29 AM
  2. Default text in search box.
    By andy.allard in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 2 Aug 2010, 07:37 PM
  3. How to delete the top search box?
    By iddy in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 4 Jun 2010, 02:46 PM
  4. Change Colour of Drop Down Search & Currency Boxes when clicked
    By ---kate--- in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 Aug 2007, 04:18 AM
  5. Remove Default Search Text
    By DiZZ in forum General Questions
    Replies: 2
    Last Post: 29 Oct 2006, 07:04 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR