[SOLVED] Problem with search module
Posted: Fri May 08, 2009 12:40 pm
Hi there,
I'm running cmsms 1.5.2 and have version 1.5.4 of Search module installed.
I can't get the search module to work properly. When I press the submit-button I get a 404.
I did a search for the problem in the forum and found a reference which suggested me to make 2 changes in:
/lib/classes/module_support/modform.inc.php
(changes in function __curPageURL to $_SERVER["PHP_SELF"] at two places)
My default template which includes the search tag looks like this:
I have reindexed all content and the search module search-template looks like this:
Where shall I look next for hunting down this problem? The action URL seems empty, but where do configure this?
I'm using the mdblue template and as you might expect I'm a newbie using this cms.
Thanks in advance, Martin
I'm running cmsms 1.5.2 and have version 1.5.4 of Search module installed.
I can't get the search module to work properly. When I press the submit-button I get a 404.
I did a search for the problem in the forum and found a reference which suggested me to make 2 changes in:
/lib/classes/module_support/modform.inc.php
(changes in function __curPageURL to $_SERVER["PHP_SELF"] at two places)
My default template which includes the search tag looks like this:
Code: Select all
<div id="content">
<div id="rightdiv">
<div class="submitbox">
<form id="form2" action="action">
<table>
<tr>
<td> </td>
<td style="width: 100px;">{search}</td>
</tr>
</table>
</form>
</div>
Code: Select all
{$startform}
<label for="{$search_actionid}searchinput">{$searchprompt}</label>: <input type="text" id="{$search_actionid}searchinput" name="{$search_actionid}searchinput" size="20" maxlength="50" value="{$searchtext}" {$hogan}/><input name="submit" value="{$submittext}" type="submit" />
{if isset($hidden)}{$hidden}{/if}
{$endform}
I'm using the mdblue template and as you might expect I'm a newbie using this cms.
Thanks in advance, Martin