jQuery UI is not loaded

jQuery UI is not loaded

This question is not answered

Hello,

there is a problem with telligent, that, when the user is not logged in, jQuery UI is not loaded. Or when user rights is a simple user, it has the same problem.

Do I have to call something from widget to get jQuery UI? Or tell somewhere in telligent control panel to load it all the times?

All Replies
  • Can you check if there's a javascript error when you load the page as an anon/simple user? That might cause jqueryUI not to be loaded correctly.

  • Hi, Bruno,

    yes, there is some errors. But because of lack of jQuery UI file. Probably I explained it wrong. jQuery UI file is not in HTML(view-source) if you are not logged in. Telligent does not load the file. There is no any problems with jQuery UI lib as it self when telligent loads the file.

  • Telligent Evolution will only include the jQuery-UI components that it uses when the accessing user can edit the current page (change the page, header, or footer layout).  If you need specific pieces of jQuery UI, you should be able to include jQuery UI explicitly from your custom widget.

  • You have to add latest jquery in your code and it will remove your problem.

  • It's generally not recommended to include separate versions of jQuery within widgets.  If so, it's highly recommended to use jQuery.noConflict(true) to avoid conflicts with the platform jQuery and plugins.  

    However, it's perfectly fine to include parts of jQuery UI or other jQuery plugins from within widgets.  jQuery UI is only included by the platform when the page is in edit mode.