Elxis CMS Forum

Support => General => Topic started by: ROUBOS on January 20, 2010, 21:31:02

Title: Can we remove Google, Yahoo and wikipedia from the Search resutls? [SOLVED]
Post by: ROUBOS on January 20, 2010, 21:31:02
Hi,
I was wondering if it's possible to remove the Google, Yahoo and Wikipedia logos from the search results of the site?

thanks
Title: Re: Can we remove Google, Yahoo and wikipedia from the Search resutls?
Post by: CREATIVE Options on January 21, 2010, 00:51:55
You have to edit the search result code on the file:
components -> com_search -> search.html.php

Lines: 198 - 203
Code: [Select]
&nbsp; <a href="http://www.google.com/search?q=<?php echo stripslashes($searchword); ?>" target="_blank" title="Google">
<img src="<?php echo $mainframe->getCfg(&#39;live_site&#39;); ?>/images/M_images/google.png" border="0" align="top" alt="Google" /></a> &nbsp;
<a href="http://search.yahoo.com/search?ei=UTF-8&p=<?php echo stripslashes($searchword); ?>" target="_blank" title="Yahoo">
<img src="<?php echo $mainframe->getCfg(&#39;live_site&#39;); ?>/images/M_images/yahoo.png" border="0" align="top" alt="Yahoo" /></a> &nbsp;
<a href="http://en.wikipedia.org/wiki/Special:Search?search=<?php echo stripslashes($searchword); ?>" target="_blank" title="WikiPedia">
<img src="<?php echo $mainframe->getCfg(&#39;live_site&#39;); ?>/images/M_images/wikipedia.png" border="0" align="top" alt="WikiPedia" /></a>

Comment those lines & take note for future upgrade
Title: Re: Can we remove Google, Yahoo and wikipedia from the Search resutls?
Post by: ROUBOS on January 21, 2010, 01:38:11
thank you very much
Title: Re: Can we remove Google, Yahoo and wikipedia from the Search resutls? [SOLVED]
Post by: CREATIVE Options on January 21, 2010, 12:04:31
you are welcome