You are here

README.txt in Linkit 6

Same filename in this branch
  1. 6 README.txt
  2. 6 editors/fckeditor/README.txt
##############################################
## ONLY if you use fckeditor WITHOUT wysiwyg ##
##############################################

Installation:

Do the following steps to add Linkit button to the FCKeditor toolbar:

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

   2. Add this BEFORE the first "FCKConfig.ToolbarSets" array.
     
      var linkit_basePath = '/' // Change this if you have drupal installed in a subdir.
      var linkit_modulePath = 'sites/all/modules/linkit'; // Change this if you have Linkit installed in a different location.
      
      var linkit_url_fckeditor = 'admin/linkit/dashboard/fckeditor'; // DO NOT CHANGE
      FCKConfig.Plugins.Add( 'linkit', null, linkit_basePath + linkit_modulePath +'/editors/fckeditor/') ; // DO NOT CHANGE

   3. Add button to the toolbar. The button name is: linkit (NOTICE: small "L" is needed)
      For example if you have a toolbar with an array of buttons defined as follows:

      ['Link','Unlink','Anchor'],

      simply add the button somewhere in the array:

      ['linkit','Link','Unlink','Anchor'],

      (remember about single quotes).

File

editors/fckeditor/README.txt
View source
  1. ##############################################
  2. ## ONLY if you use fckeditor WITHOUT wysiwyg ##
  3. ##############################################
  4. Installation:
  5. Do the following steps to add Linkit button to the FCKeditor toolbar:
  6. 1. Open /drupal/modules/fckeditor/fckeditor.config.js
  7. 2. Add this BEFORE the first "FCKConfig.ToolbarSets" array.
  8. var linkit_basePath = '/' // Change this if you have drupal installed in a subdir.
  9. var linkit_modulePath = 'sites/all/modules/linkit'; // Change this if you have Linkit installed in a different location.
  10. var linkit_url_fckeditor = 'admin/linkit/dashboard/fckeditor'; // DO NOT CHANGE
  11. FCKConfig.Plugins.Add( 'linkit', null, linkit_basePath + linkit_modulePath +'/editors/fckeditor/') ; // DO NOT CHANGE
  12. 3. Add button to the toolbar. The button name is: linkit (NOTICE: small "L" is needed)
  13. For example if you have a toolbar with an array of buttons defined as follows:
  14. ['Link','Unlink','Anchor'],
  15. simply add the button somewhere in the array:
  16. ['linkit','Link','Unlink','Anchor'],
  17. (remember about single quotes).