Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Search box in default.master.tpl

UnderDogUnderDog MVP
edited January 2014 in Vanilla 2.0 - 2.8
This discussion was created from comments split from: Search box.

There was an error rendering this rich post.



  • meshugymeshugy Musician/Hacker ✭✭
    edited January 2014

    @Todd said:

    If you are using the {searchbox} in your theme then the placeholder is just the translation of "Search". So you could add the following definition:

    $Definition['Search'] = 'Search Forums';

    I am using the the {searchbox} in my theme (a modified embed friendly theme). I tried to change the placeholder by adding

    $Definition['Search'] = 'Search Forums'; 

    to my local.php file but nothing changed. Any ideas what's wrong? I'm using v. 2.1b2

  • peregrineperegrine MVP
    edited January 2014


    in your themes default.master.tpl

    <div class="SiteSearch">{searchbox placeholder="Search Forums"}</div>

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • meshugymeshugy Musician/Hacker ✭✭

    @peregrine Bingo! thanks....

Sign In or Register to comment.