× Discussion about "Software" Joomla template.

Topic-icon SEARCH box content - expanded

More
6 years 4 months ago #13297 by elanna
I noticed my search box is limited at 20 characters.

I'd like to know how to expand this limit to 40 characters (e.g.), in order to allow searches with bigger expressions used in my website.

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #13310 by ivan.milic
You can change max length from search module parameters.

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #13321 by elanna
I did it, but the result was a largger box in pixels...
I just want more characters...

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #13326 by ivan.milic
open

language\en-GB\en-GB.localise.php

you will see function:

public static function getUpperLimitSearchWord() {
return 20;
}

replace 20 with bigger value.

Do the same for other languages
The following user(s) said Thank You: elanna

Please Log in or Create an account to join the conversation.

Time to create page: 0.107 seconds