WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. psa234
    Member
    Posted 8 months 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
    defn

    Any ideas? :D

    http://wordpress.org/plugins/dynamic-content-gallery-plugin/

  2. psa234
    Member
    Posted 8 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags