This topic is locked

Advanced Ajax Search with multi lines?

5/15/2016 10:06:30 PM
PHPRunner General questions
need2sleep authorDevClub member

How would it be possible to create a multi-line search result similar to the Ajax control?
For example, when we search "Apple"
The results are pulled from three different fields (item, price, description):
[size="3"]Green Apple[/size] - $0.99

[size="2"]sour fruit. product of USA[/size]

[size="3"]

Red Apple[/size] - $0.99

[size="2"]delicious fruit. product of Canada[/size]

Admin 5/16/2016

This is possible but not very easy. You will have to modify searchsuggest.php file that returns a list of matching items inserting
between first and second line of description. You will also need to add something like this to Custom CSS section:

.suggest_link {

line-height: 30px !important;

}