Aricie
The DNN Expert for your web project
DNN Community Forums

Multilingual setup

Sort:
You are not authorized to post a reply.
Author
Messages


bigtim











New Member



Posts:




New Member



    Hi,

    I have installed the Lucene Search Module with the skinobject on my website and it all seems to work fine except the <enter> key.

    I have a multilingual setup (2 languages). When I fill in a search term and click the search link, I get my results perfectly, but when I hit the <enter> key instead of clicking the button, I always get send to the same (nl) search results page.

    My skinobject:

    <div class="searchbg">



    <%=Iif(Threading.Thread.CurrentThread.currentUICulture.Name = "nl-BE", "<div style=display:none>","<div>")%>



    <dnn:LUCENESEARCHFR runat="server" submit="Go!" UseLanguageFilter="true" ResultsTabId="92"></dnn:LUCENESEARCHFR>



    <br>



    <a href="/default.aspx?tabid=92" class="searchlink">Recherche avancée</a>



    </div>



    <%=Iif(Threading.Thread.CurrentThread.currentUICulture.Name = "nl-BE", "<div>","<div style=display:none>")%>



    <dnn:LUCENESEARCH runat="server" submit="Go!" UseLanguageFilter="true" ResultsTabId="60"></dnn:LUCENESEARCH>



    <br>



    <a href="/default.aspx?tabid=60" class="searchlink">Uitgebreid zoeken</a>



    </div>



    </div>



    Any ideas?



    Stéphane TETARD











    New Member



    Posts:




    New Member



      Hi,

      I think it may come from some javascript which isn't designed to take 2 LuceneSearch skin objects in the same page. Have a look at the 'onkeydown' attribute of the skin object inputs. Both must be associated to the same submit button.
      It might be necessary to modify the js in the ascx to fix it.
      We'll try to modify it for the next release.
      Thanks for your support

      You are not authorized to post a reply.