1
xueming
Search with different language
  • 2005/2/12 6:45

  • xueming

  • Not too shy to talk

  • Posts: 127

  • Since: 2005/2/7 6


I have used another laguage other than english for my XOOPS site. And if I called the search from /www.mysite.com/search.php, then everything works fine (It shows the correct language, and the search works too). But in xDirectory module, it use the following code for search:
<table border="1" bordercolor="#666666" bgcolor="#FFFFCC" width="100%">
<
tr>
<
td align="center">
<
table border="0">
<
form name='search' id='search' action='/search.php' method='post' onsubmit='return xoopsFormValidate_search();'>
<
input type='hidden' name='mids[]' value='12' />
<
tr>
<
td><strong>Search for: </strong></td>
<
td><input type='text' name='query' id='query' size='20' maxlength='255' value='' /></td>
<
td><select  size='1' name='andor' id='andor'>
<
option value='AND' selected='selected'>All Words</option>
<
option value='OR'>Any Words</option>
<
option value='exact'>Exact Match</option>
</
select></td>
<
td><input type='submit' class='formButton' name='submit'  id='submit' value='Search' /></td>
</
tr>
<
input type='hidden' name='action' id='action' value='results' />
</
form>
/
table>
</
td>
</
tr>
</
table>

Then it shows english version search only and the search doesn't work.

What do I need to do to fix this issue. Thanks in advance!

2
xueming
Re: Search with different language
  • 2005/2/12 7:07

  • xueming

  • Not too shy to talk

  • Posts: 127

  • Since: 2005/2/7 6


I got it. I set the wrong value for the module "xDirectory".

By the way, anyone know how to get the module id without looking at the database by using mySQLadmin?

Thanks.