Daniel-KM / Omeka-S-module-UniversalViewer

Module for Omeka S that adds the IIIF specifications in order to act like an IIPImage server, and the UniversalViewer, a unified online player for any file. It can display books, images, maps, audio, movies, pdf, 3D views, and anything else as long as the appropriate extensions are installed.
Other
7 stars 5 forks source link

Incomparability UV and module JQueryUI #8

Open m-art-in opened 5 years ago

m-art-in commented 5 years ago

I have the modules IIIFServer, UniversalViewser and JqueryUI for Omeka S installed. As soon as I want to display a simple accordion menu together with UV, the error console shows me:

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

As soon as I remove this line of code

echo $this->universalViewer($item);

everything works as desired and the accordion is loaded. I'm assuming that JQueryUI will be loaded twice, since UV also integrates this library. How can I prevent conflicts?

m-art-in commented 5 years ago

The same with other widgets, like the Tabs Widget... Have no clue what and how to change

rafaeluriarte commented 4 years ago

I am having the same problem....

m-art-in commented 4 years ago

@Daniel-KM no idea about this issue?

Daniel-KM commented 4 years ago

Javascript conflicts are complex issues. In such a case, I don't include jquery ui on the pages where the viewer is. Or you may ask on the UniversalViewer/UniversalViewer.