Topic: Installing site search on cutenews 2.0.1
Hi
I have been trying to get site search working on my website. The message I am getting: "Cutenews has detected that you are using show_news.php using the URL to this file . . .".
But I am not including show_news.php I am including search.php.
<div id="sitesearch">
<form action= "sitesearch.php" method="get"> <!-- sitesearch.php is my news search results page -->
<input type="text" name="story" size="28">
<input type="hidden" name="dosearch" value="yes">
<input type="submit" value="Search" style="height: 26px">
</form>
</div> <!-- site search -->
<!--webbot bot="HTMLMarkup" startspan --><?php
if((isset($_POST['do']) && $_POST['do'] == 'search')
or (isset($_GET['dosearch']) && $_GET['dosearch'] == 'yes')){
$subaction = 'search';
$dosearch = 'yes';
} ?><!--webbot bot="HTMLMarkup" endspan -->
The relevant section of sitesearch.php is included below
<?php
include('cutenews/search.php');
?>
The message I am getting is:"Cutenews has detected that you are using show_news.php using the URL to this file". But I am not including show_news.php I am including search.php.