recoil Posted May 25, 2014 Share Posted May 25, 2014 Hello, I am trying to use the search bar in the top menu, however it does not have a button or at least the word "search" inside of the bar to let customers know it is a search bar. I am attaching an image of my top menu, is this normal? Or did I messed something up? If it is normal is there something that can be done to add a search button or at least the word "search" inside the bar? Thank you. Link to comment Share on other sites More sharing options...
Paulito Posted May 25, 2014 Share Posted May 25, 2014 Hello Why not go to: Back office > Localization > Translations > (select) Installed modules translations > (select) Your theme > (select) Your language > (click) Modify > scroll down to: Module: blocksearch > add text > Save http://screencast.com/t/IyRP1bwDHv Result http://adultskunk.co.uk/index.php Paul Link to comment Share on other sites More sharing options...
recoil Posted May 25, 2014 Author Share Posted May 25, 2014 Hello Paul, thank you for the help I appreciate it, I did try doing what you suggest however I got this error ... "Warning! Your hosting provider is using the Suhosin patch for PHP, which limits the maximum number of fields allowed in a form: 1000 for suhosin.post.max_vars.1000 for suhosin.request.max_vars.Please ask your hosting provider to increase the Suhosin limit to 1941 at least, or you will have to edit the translation files." I have no idea what Suhosin is, I will see what my hosting company says about it. Let me ask you I was looking at your result image and I see the text in the search bar above the top menu, I want the text inside the top menu search field, I am posting an image of the results I would like, something along those lines or maybe a search button something that indicates that the rectangle at the end of the top menu is a search engine. Thank you once more. Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted May 25, 2014 Share Posted May 25, 2014 Hi, for resolve translation error you or your support needs to change next settings (example for .htaccess file): php_value post_max_size "32M" php_value max_input_vars 5000 there is the similar topic: http://www.prestashop.com/forums/topic/332333-solved-max-input-vars-1000-problems-in-translation-of-forms/?do=findComment&comment=1681399 Regards Link to comment Share on other sites More sharing options...
recoil Posted May 27, 2014 Author Share Posted May 27, 2014 Thank you Alex, that fixed the issue with the error. I am still to find how to label the search box tho since the instructions that Paulito gave is not for the bar inside the top menu. Anyone has another suggestion? Thank you. Link to comment Share on other sites More sharing options...
dioniz Posted May 27, 2014 Share Posted May 27, 2014 Open yourtheme/modules/blocktopmenu/blocktopmenu.tpl and find this line: <input type="text" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|escape:'html':'UTF-8'}{/if}" /> Change to: <input type="text" placeholder="Yourtexthere" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|escape:'html':'UTF-8'}{/if}" /> This will give you search text in a search box. Link to comment Share on other sites More sharing options...
recoil Posted May 27, 2014 Author Share Posted May 27, 2014 Thank you Dioniz! You are awesome, that worked! I appreciate the help Link to comment Share on other sites More sharing options...
dioniz Posted May 27, 2014 Share Posted May 27, 2014 You are welcome 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