Hi sid, you can try doing the following:
1.) Open up search_function.php, and look for the line:
$search_time = sprintf('%01.2f',$mtime[0]+$mtime[1]-$start_time);
Right under that, insert:
$try_words = str_replace(' ', '+', $query_string);
$try_query = "<p align=\"center\">Try your search on: <a href=\"http://www.google.com/search?sourceid=navclient&q=$try_words\">Google</a></p>";
2.) Then, look for the lines:
if ($template == 'array' || is_file($template)) {
$phpdig_version = PHPDIG_VERSION;
Below that, you can see something like:
$t_mstrings = compact('title_message','phpdig_version','result_message', ....
After 'title_message' insert 'try_query' so it will now look something like:
$t_mstrings = compact('title_message','try_query','phpdig_version','result_message', ....
3. Lastly, open up your template file, and insert:
<phpdig:try_query/>
anywhere you like. If you are using Dreamweaver, make sure you insert it directly into the code or else it will not be recognized. Good luck!
|