Support » Plugin: CKEditor for WordPress » [Plugin: CKEditor For WordPress] If NextGen Gallery button doesn't show up solution

  • Resolved biziclop

    (@biziclop)


    Quick fix:
    1. Find this file:
    wordpress/wp-content/plugins/ckeditor-for-wordpress/plugins/nggallery/ckeditor.php
    2. find the add_ckeditor_button() function
    3. Change these lines:

    //add_action('init', array (&$this, 'addbuttons') ); // comment out this line
    $this->addbuttons(); // add this line instead

    Cause of the bug:
    ckeditor_wordpress.php’s initialisation got wrapped to an add_action(init), but nggallery-button’s init was already wrapped to add_action(init), and init-inside-init never fires.

    http://wordpress.org/extend/plugins/ckeditor-for-wordpress/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor michal

    (@michal_cksource)

    Hi,
    @biziclop thank you for this information. We will check this.
    kind regards

    I’m using WordPress 3.1.2 and I just upgraded CKEditor to version 1.0.8. In new version the problem still exists. You must made biziclop
    modifications to get NextGEN button in editor.

    Plugin Contributor dczepierga

    (@dczepierga)

    @biziclop, thx for fix – i checked it and commit to SVN.
    It will be released with next version of CKEditor plugin.

    @gottrek, thx for review 🙂

    Greetings

    hi dczepierga,

    I also have a bug with the Nextgen Gallery Button and wp-version 3.2. When I use the Nextgen Gallery Button in CKEditor and click on the tabs, nothing happens. The Tabs don’t display.
    I mean the tabs: “javascript.mcTabs.displayTab(‘album_tab’,’album_panel’)” and “javascript.mcTabs.displayTab(‘singlepic_tab’,’singlepic_panel’)”

    I’ve watched while the javascript function, but found no errors.
    I understand javascript, but not good.

    Can you help me / us?

    regards
    bkabel

    I am having much the same problem as bkabel. The tabs show up but nothing happens when I click on them.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: CKEditor For WordPress] If NextGen Gallery button doesn't show up solution’ is closed to new replies.