Keyword

joomla admin k2 image browse popup not working

  • akhtar ali
  • akhtar ali's Avatar Topic Author
  • Offline
  • New Member
More
7 years 4 months ago #162979 by akhtar ali
hi
i am facing k2 components article image browse popup window is not loading my images folder. my joomla version 3.7.3 Latest
see in attach screenshot , k2 article article images browse from server or extra field images both are not working. popu to seclect images files from server


attach screenshot link below:
imgur.com/sKN0mKh
imgur.com/Xz03Kex

Akhtar

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 4 months ago #162994 by Krikor Boghossian
Replied by Krikor Boghossian on topic joomla admin k2 image browse popup not working
Hello there,

Can you look in the console tab of your browser's developer tools for any JS issues?
You might need to reload the page with the tab open.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
7 years 4 months ago - 7 years 4 months ago #163136 by Claudio Payret
Replied by Claudio Payret on topic joomla admin k2 image browse popup not working
Same error for me , I got this error at first

template.js?fc1b84c…:15 Uncaught TypeError: $(...).tooltip is not a function
at HTMLDocument.<anonymous> (template.js?fc1b84c…:15)
at l (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at Function.ready (jquery.min.js:2)
at HTMLDocument.A (jquery.min.js:2)


In my case this file :
URL/administrator/templates/isis/js/template.js
was the problem

Maybe isn't the best solution but rename the file worked for me.
Last edit: 7 years 4 months ago by Claudio Payret.

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

More
7 years 4 months ago - 7 years 4 months ago #163137 by Claudio Payret
Replied by Claudio Payret on topic joomla admin k2 image browse popup not working
.
Last edit: 7 years 4 months ago by Claudio Payret.

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

More
7 years 3 months ago - 7 years 3 months ago #163208 by softweb
after updating a dozen of websites i am having the same issue in most of them

$(...).tooltip is not a function

only the websites created recently are not having that issue.

as a temporary solution i found that after commenting out the line 72: fixes my problem

/public_html/administrator/components/com_k2/helpers/html.php
70:	 if($mediaManager)
71:	 {
72:	 -->  //$document->addScript('//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js');
73: 	 }

i guess the popup reloads again the
ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
and the
ajax.googleapis.com/ajax/libs/jqueryui/1.8.24/jquery-ui.min.js

while in every administrator page joomla already loaded first
media/jui/js/jquery.min.js ( jQuery v1.12.4 )

any better solution to deal with this?
Last edit: 7 years 3 months ago by softweb.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 3 months ago - 7 years 3 months ago #163212 by Krikor Boghossian
Replied by Krikor Boghossian on topic joomla admin k2 image browse popup not working
Yes, in K2's settings you can set which version of jQuery and jQuery UI is being used.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Last edit: 7 years 3 months ago by Krikor Boghossian.

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

More
7 years 3 months ago #163218 by softweb
thank you very much krikor
i disabled it and that did the job.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 3 months ago #163238 by Krikor Boghossian
Replied by Krikor Boghossian on topic joomla admin k2 image browse popup not working
You 're welcome :)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum