Forums

Quizzin
Quizzin + TinyMCE + cforms (2 posts)

  1. TrevorNet
    Member
    Posted 11 months ago #

    Problem: When I activate cforms, TinyMCE stops working in Quizzin. All other post management areas continue to work as expected.

    Without digging too far into the code, my first step would be to look at wpframe.php => wpframe_add_editor_js().

    Anyone?

    http://wordpress.org/extend/plugins/quizzin/

  2. TrevorNet
    Member
    Posted 11 months ago #

    I just couldn't let it go. This (probably) may be considered a hack, but it works.

    File: wpframe.php
    What: Placed a cform plug-in check.`
    if(!function_exists('wpframe_add_editor_js')) { //Make sure multiple plugins can be created using WPFrame

    if(is_plugin_active('cforms')) {
    function disable_mce_cforms_buttons( $opt ) {
    $opt['theme_advanced_disable'] = 'cforms';
    return $opt;
    }
    add_filter('tiny_mce_before_init', 'disable_mce_cforms_buttons');
    }`

    Other plug-in exceptions may need to be added as needed.

Reply

You must log in to post.

About this Plugin

About this Topic