Dynamic Content Gallery
[resolved] DCG + WPML Strange Error (2 posts)

  1. psa234
    Posted 2 years ago #

    Hey, there! I'm using WPML to switch between English and Ukrainian on our church's website. I added the DCG code to one of the template files in order to display it on pages other than the home page. When I have English as the default language, it displays on both languages, but when the default language is Ukrainian, it only displays on the English side. I get the following error in my browser console:

    Uncaught TypeError: Cannot call method 'addClass' of null jd.gallery_1_2_4_4.js:118
    gallery.initialize jd.gallery_1_2_4_4.js:118
    extend._owner mootools-1.2.4-core-jm.js:34
    (anonymous function) mootools-1.2.4-core-jm.js:32
    startGallery ?lang=uk:73
    returns mootools-1.2.4-core-jm.js:24
    (anonymous function) mootools-1.2.4-core-jm.js:24
    (anonymous function) mootools-1.2.4-core-jm.js:65
    Native.implement.fireEvent mootools-1.2.4-core-jm.js:65
    domready mootools-1.2.4-core-jm.js:106

    Any ideas? :D


  2. psa234
    Posted 2 years ago #

    Nevermind! :D I got it! I just changed the javascript options to jquery instead of mootools.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Dynamic Content Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic