Tropical Dream Posted September 11, 2009 Share Posted September 11, 2009 I would like to keep the search box, but remove the big SEARCH button that is on the top right of the box.There are 2 files I suspect to be responsible for this button:modules/blocksearch/blocksearch.tplmodules/blocksearch/blocksearch-top.tplWhich line of code do I have to modify? Link to comment Share on other sites More sharing options...
Tropical Dream Posted September 13, 2009 Author Share Posted September 13, 2009 Maybe I was not clear enough... here is a screenshot of the search button I would like to remove. The button is on the right Which line of code do I have to edit? Link to comment Share on other sites More sharing options...
rocky Posted September 13, 2009 Share Posted September 13, 2009 The line you are looking for is line 9 of modules/blocksearch/blocksearch-top.tpl: <input type="submit" name="submit_search" value="{l s='Search' mod='blocksearch'}" class="button" /> I'm not sure why you want to remove it though, since then there is no way to submit the search. Link to comment Share on other sites More sharing options...
Tropical Dream Posted September 13, 2009 Author Share Posted September 13, 2009 that was quick, thanks!well actually, I wanted like to simply remove the "search button", I would like to keep the submit function by pressing "enter on keyboard" after entering the query. I changed the line you suggested me to: <!--<input type="submit" name="submit_search" value="{l s='Search' mod='blocksearch'}" class="button" />--> And it removed the search box, but I can still press enter. Thanks for your help! Link to comment Share on other sites More sharing options...
Ann Posted September 13, 2009 Share Posted September 13, 2009 Hi, You can do the same thing much more easily by using the translation tool in your BO. Link to comment Share on other sites More sharing options...
Tropical Dream Posted September 14, 2009 Author Share Posted September 14, 2009 what does this SEARCH BUTTON removal have to do with the translation tool? Did you post in the wrong topic? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now