1
Hello all,
I am doing some template modifications to the mysearch module to get it looking like goolge search results.
I can show the url of the result underneat the clickable title (like google) by using this smarty variables
<{$search_results[$sort_key].results[cur_result].link}>
This shows like:
Some page title or articlehttp://www.mysite.com/modules/news/article.php?id=12What I want to do is remove the http:// from the unlickable url shown underneat the page title, I have tried
<{$search_results[$sort_key].results[cur_result].link|strip:"http://"}>
But it does not seem to remove the http:// part, anyone got any ideas how to remove those chars without hacking php code?
Cheers