I have an AjaxSearch set up on a site, with a search form that uses this code:
[!AjaxSearch? &ajaxSearch=`0` &AS_landing=`70`&AS_showResults=`0`!]
The search results landing page then uses this code to list the results:
[!AjaxSearch? &ajaxSearch=`0` &AS_showForm=`0` &tplResults=`{{resultsholder}}` &tplResult=`{{resultholder}}` !]
The strange problem is that when I click on any of the search result links, although it jumps to the appropriate page, a ’>’ character appears right at the very start of the content. Looking at the generated page source code, it’s directly after <body>, so we have <body>> instead.
I’ve checked the page content and templates / chunks and can’t find this extra character / typo anywhere!
Anyone have any ideas?
Thanks, where should this code be placed? I don’t see a corresponding line in the AjaxSearch snippet...
check Plugin -> "Search Highlighting"