Osclass Support Forums
Osclass theme support => Veronika Osclass Responsive Theme => Topic started by: MrWolf on February 17, 2017, 12:09:17 PM
-
In site with more than one languages, users usually don't bother to write the listings in more than one language, so for example if the listing "villa for sale" was written in english only, and I search for "villa" while browsing the site in Spanish, the search will return no listings.
To fix this in the regular search I found this workaround in the osclass forum: http://forums.osclass.org/3-5-x/search-on-two-languages/msg105900/#msg105900
I tried it with the Veronika theme and it works fine for the standard search, however the real time ajax search in the home page still search only in the currently active language.
How can I apply a similar fix to the real time search, so that it searched in all the languages ant not only in the language currently selected by the user?
Thank you!
-
@MrWolf
Well osclass does not support this and the code will work just in classic search.
If you define your own search, such condition will not be applied.
-
There's a way to apply this also to the real time search?
I'm sure this would be useful to everyone running a multilanguage site.
-
@MrWolf
Do you mean on search page?
-
In the home page and in the search page ;)
-
@MrWolf
On those pages it should work, if not in your version might be something changed that cause not work this script.
I am not going to look on this further as such functionality has just limited usage.
-
when i go to post a ad all language is showing http://prntscr.com/fpam7s
-
@Nijam
Because you have too many of them, I hope you do not expect someone will post listings in so many languages. Even default theme would show it oddly, you should have languages max per 1 row.
-
I have the same problem. Have you solved the problem?
-
@Nail
Solution is to remove languages in backoffice.
Anyway you may try this CSS:
body .add_item .tabberlive ul.tabbernav {float: left; position: relative; width: 100%;}