View Single Post
Old 08-24-2004, 10:18 AM   #3
-ding-dong-
Green Mole
 
Join Date: Aug 2004
Posts: 6
Thanks Charter,

found the problem.

My $template var was empty/null in config.php the reason was, that I assigned the value to late.

So, you have to place $template = "$relative_script_path/templates/searchbox.php";
not only before
phpdigSearch($id_connect, $query_string, $option, $refine,
$refine_url, $lim_start, $limite, $browse,
$site, $path, $relative_script_path, $template, $rssdf);


but before any include e.g.
include "$relative_script_path/includes/config.php";
include "$relative_script_path/libs/search_function.php";

So setting it at the beginning of my page solved the problem.

Cheers :-)
-ding-dong- is offline   Reply With Quote