PDA

View Full Version : Results to another page (Apportal)


sandro
09-22-2003, 02:12 PM
MY seaurch box:

<form action='../search/search.php' method='get'>
<input type='hidden' name='template' value=''>
<input type='hidden' name='site' value=''/>
<input type='hidden' name='path' value=''/>
<input type='hidden' name='result_page' value='http://www.sexi-links.de/apportal/main.php?c=beispiel'/>
<table class="borderCollapse">
<tr>
<td class="greyForm">
<input type='text' class='phpdiginputtext' name='query_string' value=''/> <input type='submit' class='phpdiginputsubmit' name='search' value='Go...'/> display
<select name='limite' class='phpdigselect'>
<option selected="selected">10</option>
<option >30</option>
<option >100</option>
</select>
results
</td>
</tr>
</table>
</form>

See this:

http://www.sexi-links.de/apportal/main.php


And the resultpage is this:

http://www.sexi-links.de/apportal/main.php?c=beispiel

My results must I change the whole with that without there were gestallten one can get not see, which files.

My seach.php from phpdig:

// extract vars
extract(phpdigHttpVars(
array('query_string'=>'string',
'template'=>'string',
'refine'=>'integer',
'refine_url'=>'string',
'site'=>'integer',
'limite'=>'integer',
'option'=>'string',
'search'=>'string',
'lim_start'=>'integer',
'browse'=>'integer',
'path'=>'string'
)
));
phpdigSearch($id_connect, $query_string, $option, $refine,
$refine_url, $lim_start, $limite, $browse,
$site, $path, $relative_script_path, 'array');
?>

We modifiziert $templates to 'array' and we see no results.

Please help.

Best wish

Sandro

Charter
09-23-2003, 04:42 AM
Hi. Perhaps try the following. Use the $template variable like so:

phpdigSearch($id_connect, $query_string, $option, $refine,
$refine_url, $lim_start, $limite, $browse,
$site, $path, $relative_script_path, $template);

and set the $template variable to your new template in the config file, right below the template file and style comment.