Would like to add custom search results for specific keywords.
In addition to the content we have in EE, we also link to other systems (course catalog, class schedule, maps). These other systems are linked in our main navigation, but people still search for them.
Is there any way to add a custom result (title and URL) that is associated with a keyword and have it displayed at the top of the results list?
Replies
Low 17 Jul 2013 20:27
How about a hidden channel with a URL field and a keywords field. Create a collection for that, and add that to your search results. When a search result from that channel comes up, use the URL field instead of an internal {path} to create the link.
That approach doesn't necessarily put those results on top, but you could also create a second Results tag which targets just that collection and have it return the results elsewhere on the page.
Make sense?
Todd 17 Jul 2013 20:37
Yes, that does make sense and this way will probably be more flexible than what I was initially thinking.
Thanks for your help!
Todd 18 Jul 2013 16:59
So, that worked awesome!
The first Results tag searches just the one collection and returns a "Top Results" section; the second Results tag excludes the collection from the first tag and returns all other results.