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 Wordsoption>
<
option value='OR'>Any Wordsoption>
<
option value='exact'>Exact Matchoption>
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.

Login

Who's Online

299 user(s) are online (250 user(s) are browsing Support Forums)


Members: 0


Guests: 299


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits