Search Keyword Highlight - Joomla Search
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Apprentice
- Posts: 16
- Joined: Fri May 02, 2008 4:56 pm
Search Keyword Highlight - Joomla Search
I'm looking for a way to have the words used in the Joomla search to be highlighted in the article selected from the search results.
The plugin, Search Engine Keywords Highlight, only works when you arrive at the article from an external search engine like Google or Yahoo. I want this capability when you search from within my Joomla site.
Anyone know how to do this???
Thanks
The plugin, Search Engine Keywords Highlight, only works when you arrive at the article from an external search engine like Google or Yahoo. I want this capability when you search from within my Joomla site.
Anyone know how to do this???
Thanks
- ranwilli
- Joomla! Master
- Posts: 19203
- Joined: Sun Feb 19, 2006 6:47 pm
- Location: Toledo, OH
- Contact:
Re: Search Keyword Highlight - Joomla Search
In 1.5.9, the search term is enclosed by:
maybe you just need to put :
in your css.
Code: Select all
<span class="highlight">keyword</span>
Code: Select all
.highlight {
background-color:#f7fc34;
}
Don't HACK the Joomla! core, Instead "Extend" and/or "Override."
Stay ON the update path.
https://harpervance.com
Stay ON the update path.
https://harpervance.com
-
- Joomla! Apprentice
- Posts: 16
- Joined: Fri May 02, 2008 4:56 pm
Re: Search Keyword Highlight - Joomla Search
The search term is indeed enclosed as <span class="highlight">keyword</span> but only on the search results page. If I actually open one of the articles indicated, the article doesn't have any keywords highlighted.
-
- Joomla! Apprentice
- Posts: 6
- Joined: Mon Feb 09, 2009 10:49 am
Re: Search Keyword Highlight - Joomla Search
I'm looking for exactly the same plugin
-
- Joomla! Apprentice
- Posts: 34
- Joined: Fri Feb 27, 2009 2:49 pm
- Location: New Jersey, US
Re: Search Keyword Highlight - Joomla Search
Yes that is what I am looking for, a site search that highlights the words on the actual page when you navigate to it. If it can be done with an outside search engine navigating to your pages, why can't it be done internally.
Another good search function that is needed is a highlight on page search box. I think this can be done in Java Script, but I don't know how to integrate that in to content pages. Would it have to be coded into the actual template?
Anyone...
T
Another good search function that is needed is a highlight on page search box. I think this can be done in Java Script, but I don't know how to integrate that in to content pages. Would it have to be coded into the actual template?
Anyone...
T
Tom Hutchison
Joomla! Production Leadership Team member
Joomla! Production Leadership Team member
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Feb 08, 2011 1:36 pm
Re: Search Keyword Highlight - Joomla Search
ranwilli -> it works, thanks !!!
-
- Joomla! Apprentice
- Posts: 5
- Joined: Mon Mar 14, 2011 3:47 am
Re: Search Keyword Highlight - Joomla Search
anybody figure out the solution for this topic?
@ranwili
it only changes the highlight color of the keywords in the search results but it does highlight the keywords in the articles
@ranwili
it only changes the highlight color of the keywords in the search results but it does highlight the keywords in the articles
-
- Joomla! Fledgling
- Posts: 2
- Joined: Fri Jan 20, 2012 11:21 am
Re: Search Keyword Highlight - Joomla Search
Thanks... this worked just fine [1.7]ranwilli wrote:In 1.5.9, the search term is enclosed by:maybe you just need to put :Code: Select all
<span class="highlight">keyword</span>
in your css.Code: Select all
.highlight { background-color:#f7fc34; }
-
- Joomla! Apprentice
- Posts: 5
- Joined: Fri Jan 27, 2012 7:34 am
Re: Search Keyword Highlight - Joomla Search
Sorry for this questions.
I really need to have the feature highlight is the page of search results, that the pages open.
I have joomla 1.5.22 is installed on the component JXFinder (no longer supported). This software has the required function, but has big problems in the research stage. If I have a word composed of AMC and AMC-56 and I try, gets nothing.
So I am looking for other components. I have tried many and all the best, but nobody has the highlights on every page.
How can I do? There is a component ah hoc? Can I put a PHP script? if you like?
I really need to have the feature highlight is the page of search results, that the pages open.
I have joomla 1.5.22 is installed on the component JXFinder (no longer supported). This software has the required function, but has big problems in the research stage. If I have a word composed of AMC and AMC-56 and I try, gets nothing.
So I am looking for other components. I have tried many and all the best, but nobody has the highlights on every page.
How can I do? There is a component ah hoc? Can I put a PHP script? if you like?
-
- Joomla! Fledgling
- Posts: 4
- Joined: Thu Apr 09, 2015 10:25 am
Re: Search Keyword Highlight - Joomla Search
Thanks for this solution it worked perfectly.
- Beata
- Joomla! Ace
- Posts: 1229
- Joined: Fri Mar 02, 2007 2:06 pm
- Location: Lithuania
Re: Search Keyword Highlight - Joomla Search
Sorry, I didn't catch
What and where I should change? Which file?
By searching I have in two my websites this <span class="highlight">potvarkis</span>
What and where I should change? Which file?
By searching I have in two my websites this <span class="highlight">potvarkis</span>