Hi

I'm not sure if i've made an error installing this module, but as far as i can see (and after inspecting the code) there is no support for setups using the ckeditor standalone module, ie:
http://drupal.org/project/ckeditor
(i'm currently on version 7.x-1.6)

I've made a start adding support; i've managed to register the plugin, however when ckeditor loads the button is not available. I assume something must be failing in plugin.js, but i'm not sure what.

Heres the code to register the plugin:

function video_filter_ckeditor_plugin() {
    return array(
        'video_filter' => array(
            // Name of the plugin used to write it.
            'name' => 'video_filter',
            // Description of the plugin - it would be displayed in the plugins management section of profile settings.
            'desc' => t('Video Filter plugin'),
            // The full path to the CKEditor plugins directory, with the trailing slash.
            'path' => drupal_get_path('module', 'video_filter') . '/editors/ckeditor/',
            'buttons' => array(
                'button_name' => array(
                    'icon' => 'video_filter.png',
                    'label' => 'Video filter',
                )
            )
        )
    );
}

I'm happy to help with supplying a patch to add this, if you / somebody can help spot the problem?

Cheers

Comments

For adding in standalone CKEditor see instruction in file: /sites/all/modules/video_filter/editors/ckeditor/README.txt

Title:Support for ckeditor standalone moduleUpdate the readme for how to use with the new version of ckeditor
Category:feature» bug

I have followed the instructions and it doesn't seem to work.

The instructions seem to be for the older version of ckeditor, where you added buttons in a text field.
Now there is a fancy drag drop UI for adding buttons.

This worked for me (perhaps this can be added to the readme).

#1279042-2: Video Filter button not appearing in CKEditor

StatusFileSize
new2.48 KB

Patch for updated instructions in README.txt based on #1279042-2: Video Filter button not appearing in CKEditor. Also updated the main video_filter README.txt to indicate where to find the ckeditor plugin.

Version:7.x-3.0» 7.x-3.x-dev
StatusFileSize
new2.43 KB

Since the ckeditor also has a hook_ckeditor_plugins() we could also implement that to make it even simpler.
I updated the readme (taking the patch by @ttkaminski as a basis) to reflect this change and added the hook to the module.
This way you can leave the plugin in the module and there is no need to hack/patch/modify other modules or libraries.

Status:Active» Needs review
StatusFileSize
new2.85 KB

Updated version of the patch to also reflect the change by @ttkaminski to the main readme file.