Hi,
I had an issue with long URLs in search results.
Because an URL is one word there is no word wrap and the template is beeing expanded.
Example URL:
| Code: |
http://www.domain-domain.tld/advanced_search_result.php?keywords=suppe+nudel+ruschin&x=0&y=0
|
My Template has a content width of 600px, the above text in the search result expanded it to 691px.
To fix this i altered the file
| Code: |
components/com_fireboard/sources/fb_search.class.php
|
on line 263, i added afterwards:
| Code: |
$searchResultList = ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]", "[<a href="\0">URL</a>]", $searchResultList);
|
Now all Links in the search results are replaced with a hyperlink and the text [url].
Cheers, 05282