Highlight search term on results page: wrong highlights

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
User avatar
lausianne
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 162
Joined: Thu Apr 06, 2006 3:15 pm

Highlight search term on results page: wrong highlights

Post by lausianne » Wed Aug 20, 2014 2:18 pm

Hi,

I'm working on a site with J!3.3.3. When I do a search, the term I search for is highlighted. But: sometimes the correct term is highlighted, sometimes some letters near a search term.
Example: Search term "web"
Highlighted letters: Webdesign or Webdesign or Webdesign

Any idea why that's happening?

Thanks!

itoctopus
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4025
Joined: Mon Nov 25, 2013 4:35 pm
Location: Montreal, Canada
Contact:

Re: Highlight search term on results page: wrong highlights

Post by itoctopus » Wed Aug 20, 2014 4:43 pm

Seems to be a bug in the search component. Are you using Joomla's standard search component or are you using another one?
http://www.itoctopus.com - Joomla consulting at its finest
https://twitter.com/itoctopus - Follow us on Twitter

User avatar
lausianne
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 162
Joined: Thu Apr 06, 2006 3:15 pm

Re: Highlight search term on results page: wrong highlights

Post by lausianne » Thu Aug 21, 2014 6:12 am

Hi itoctopus,
it's standard Joomla. I have nothing installed of which I would expect any messing with search results. Template is Blank Template (A. Schmidt) + Bootstrap 3.

cappuccino
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Tue Aug 04, 2009 3:49 pm
Location: Hamburg
Contact:

Re: Highlight search term on results page: wrong highlights

Post by cappuccino » Thu Sep 18, 2014 7:57 pm

Same here. On Joomla 3.3 the first letter of the search term doesn't get marked as hightlight. Example:

Code: Select all

Term: "Adipositas"
Resutl: A<span class="highlight">dipositas </span>
Thanks for help.

Bernhard


Locked

Return to “General Questions/New to Joomla! 3.x”