Elxis CMS Forum
Support => General => Topic started 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
-
You have to edit the search result code on the file:
components -> com_search -> search.html.php
Lines: 198 - 203
<a href="http://www.google.com/search?q=<?php echo stripslashes($searchword); ?>" target="_blank" title="Google">
<img src="<?php echo $mainframe->getCfg('live_site'); ?>/images/M_images/google.png" border="0" align="top" alt="Google" /></a>
<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('live_site'); ?>/images/M_images/yahoo.png" border="0" align="top" alt="Yahoo" /></a>
<a href="http://en.wikipedia.org/wiki/Special:Search?search=<?php echo stripslashes($searchword); ?>" target="_blank" title="WikiPedia">
<img src="<?php echo $mainframe->getCfg('live_site'); ?>/images/M_images/wikipedia.png" border="0" align="top" alt="WikiPedia" /></a>
Comment those lines & take note for future upgrade
-
thank you very much
-
you are welcome