kitodo / kitodo-presentation

Kitodo.Presentation is a feature-rich framework for building a METS- or IIIF-based digital library. It is part of the Kitodo Digital Library Suite.
https://kitodo.org
GNU General Public License v3.0
38 stars 45 forks source link

Page View Plugin doesn't work out-of-the-box #304

Closed sebastian-meyer closed 5 years ago

sebastian-meyer commented 6 years ago

Since the third-party extension t3query is no longer compatible with newer versions of TYPO3, we removed the dependency, but failed to find a proper alternative to ensure loading of the jQuery library prior to initializing OpenLayers in the Page View Plugin. Recent versions of TYPO3 come with their own jQuery library, so we should rely on that. We need to implement it in a way that the Page View Plugin ensures loading of the jQuery library.

albig commented 6 years ago

That's not true. If you include the static template - as you should do, jQuery is included via CDN or from dlf. Current Javascript in Kitodo.Presentation is only working with jQuery 2.x. The TYPO3 jQuery library is IMHO intended for backend modules only.

sebastian-meyer commented 6 years ago

Thanks for the quick reply! The static template was added, but the Page View Plugin didn't show anything. The Chrome developer console showed Javascript errors hinting at a missing jQuery library. I'll have another look at it!

sebastian-meyer commented 5 years ago

I can't reproduce this issue. Even with a blank minimal installation of TYPO3 8.7 the plugin works out-of-the-box.