[SOLVED 3rd party extensions should use jQuery UI that comes with Joomla] no AJAX search results displayed, jQuery UI loading conflict

6 years 8 months ago - 6 years 5 months ago #53311 by omtr
Hi Flexicontent,

when i try to use the advanced search module instead of the standard search module, no AJAX results are displayed.
is the ajax search still implemented in FC 2.2.1 or was this feature disabled? I cannot find any AJAX specific settings in the module (for example: the minimum required amount of letters before results are displayed).

thanks for your help!
omtr

Please Log in or Create an account to join the conversation.

6 years 8 months ago - 6 years 6 months ago #53318 by micker
i think you have an javascript conflict ... try to show console in firebug

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

6 years 8 months ago - 6 years 6 months ago #53331 by ggppdk
Hello

there must either be a JS error

or

there is a PHP notice/warning being printed in the server side that breaks the responce


you may post a link to the frontend

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

6 years 6 months ago - 6 years 6 months ago #54807 by omtr
i do not get any js error messages on the search module. the problem persists in 3.0.0b7c.
i send you the link by pn.

Please Log in or Create an account to join the conversation.

6 years 6 months ago - 6 years 6 months ago #54838 by ggppdk
Hello

if you also display Joomla smart search module, or for any other reason the Joomla include version of

"jQuery Autocomplete" JS is loaded

then our text-search autocomplete JS will fail because we use , jQuery -UI- autocomplete
and it will fail without JS error, because the jQuery Autocomplete JS will be called

this was very recently fixed in our GitHub repository, you will need to wait for next release, or:
-- try using v3.0 BETA7c with the latest
components/com_flexicontent/assets/css/tmpl_common.js


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

6 years 6 months ago - 6 years 6 months ago #54842 by omtr
hi ggppdk,

i think there was a conflict with other search components that i did not use, but what were still installed (RSSearch for example). I removed them, but unfortunately i get another error now:
TypeError: this.menu is undefined
in libraries/jquery/js/jquery-ui/jquery.ui.autocomplete.min.js

i already checked if this file is the newest version from the git. the spinner rotates as soon as i type in some characters and the error message is reported in the javascript console each time i press a key. so obviously the event is fired as it should be, but the object is not addressed correctly...?

thanks again for your help!
omtr

Please Log in or Create an account to join the conversation.

6 years 6 months ago - 6 years 6 months ago #54846 by ggppdk
Hello

the loading of jQuery UI menu is needed,
flexicontent will add this file to the loaded JS files

i will look at this further, after you have tested in duplicate (test) site , with the latest GitHub version
-- click the ZIP button in GitHub repository, and then install via Joomla installer


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

6 years 6 months ago #54954 by omtr
i will send you a PM with the test site URL.

Please Log in or Create an account to join the conversation.

6 years 6 months ago - 6 years 6 months ago #54971 by ggppdk
Hello

Joomla 3.4.x comes with jQuery UI v1.9.2

but you have an extension (JV Tabs or some extension of this author) that is loading a different version: v1.10.3

/plugins/system/jvlibs/javascripts/jquery/ui/jquery-ui.core.min.js"



-- the way to avoid conflicts is that every extension should not try to load a different version of jQuery or jQuery UI, other than the one included in Joomla 3.4.x

we are not trying to load a different version of jQuery and jQuery UI, and we assume that the websites are using the jQuery UI version that comes with Joomla
- it is not possible to support other versions

you may contact the author oh JV *** Extension asking of how to use the jQuery UI version included with Joomla !

-- you can also try using jQuery easy extension, and configuring to load the jQuery UI version 1.9.2 , which is the version included with Joomla


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

6 years 5 months ago #55162 by omtr
hey ggppdk,

thank you so much for your help!
you where absolutly right, it was the JV Melody Theme that came with a different jQuery/UI Version.
Your advice for using jQuery Easy was perfect! Now the Advanced search works, the lightbox works and everything else works, too!
thanks for your help!

best regards
omtr

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.