Thread: Open Seach
View Single Post
  #2  
Old 2nd November 2008, 00:04
Krypto Krypto is offline
Retired from BVList
 
Join Date: Jan 2008
P2P
Posts: 510
Default
Thanks Joe.

Though I've not managed to get this simple hack working:shock:

Have placed the this in my theme at this location

Code:
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";
echo "<html>\n";
echo "<head>\n";
echo "<!--[if lt IE 7]>
<script defer type=\"text/javascript\" src=\"$siteurl/pngfix.js\"></script><![endif]-->";
echo "<title>".$sitename."</title>\n";
echo '<link rel="search" type="application/opensearchdescription+xml" title="' . $sitename . '" href="'.$siteurl.'/opensearch.php" />';
In FF 2.0.0.17 I click on the search part and then ADD my site, but the site never gets added, it just says ADD all the time?

Could it be because I have the source running in a sub-dir?
Reply With Quote