Aricie
The DNN Expert for your web project
Forum
HomeHomeExpert ModulesExpert ModulesLuceneSearchLuceneSearchMultilingual setupMultilingual setup
Previous
 
Next
New Post
11/4/2015 8:18 AM
 

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&#233;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?

 
New Post
11/5/2015 9:28 AM
 

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 




Stéphane TETARD
ARICIE - Board member of DotNetNuke France
 
Previous
 
Next
HomeHomeExpert ModulesExpert ModulesLuceneSearchLuceneSearchMultilingual setupMultilingual setup