You are here

README.txt in Video Filter 6.3

Same filename in this branch
  1. 6.3 README.txt
  2. 6.3 editors/ckeditor/README.txt
  3. 6.3 editors/fckeditor/README.txt
Same filename and directory in other branches
  1. 7.3 editors/ckeditor/README.txt
##############################################
## ONLY if you use ckeditor WITHOUT wysiwyg ##
##############################################

Installation:

Do the following steps to add video filter button to the CKEditor toolbar:

   1. Open /drupal/modules/ckeditor/ckeditor.config.js

   2. Add button to the toolbar. The button name is: video_filter
      For example if you have a toolbar with an array of buttons defined as follows:

      ['Bold', 'Italic', 'Image']

      simply add the button somewhere in the array:

      ['Bold', 'Italic', 'Image', 'video_filter']

      (remember about single quotes).

    3. Scroll down to the end of the file, right before "};" insert:
      
      // Video_filter plugin.
      config.extraPlugins += (config.extraPlugins ? ',video_filter' : 'video_filter' );
      CKEDITOR.plugins.addExternal('video_filter', Drupal.settings.basePath + 'sites/all/modules/video_filter/editors/ckeditor/');

File

editors/ckeditor/README.txt
View source
  1. ##############################################
  2. ## ONLY if you use ckeditor WITHOUT wysiwyg ##
  3. ##############################################
  4. Installation:
  5. Do the following steps to add video filter button to the CKEditor toolbar:
  6. 1. Open /drupal/modules/ckeditor/ckeditor.config.js
  7. 2. Add button to the toolbar. The button name is: video_filter
  8. For example if you have a toolbar with an array of buttons defined as follows:
  9. ['Bold', 'Italic', 'Image']
  10. simply add the button somewhere in the array:
  11. ['Bold', 'Italic', 'Image', 'video_filter']
  12. (remember about single quotes).
  13. 3. Scroll down to the end of the file, right before "};" insert:
  14. // Video_filter plugin.
  15. config.extraPlugins += (config.extraPlugins ? ',video_filter' : 'video_filter' );
  16. CKEDITOR.plugins.addExternal('video_filter', Drupal.settings.basePath + 'sites/all/modules/video_filter/editors/ckeditor/');