Install WYSIWYG editor Drupal using the second series of tutorials

Source: Internet
Author: User
Keywords Drupal

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Many people are accustomed to using WYSIWYG editor, and Drupal's self-contained modules are not available and need to be installed themselves, we explain the FCKeditor installation process below and demonstrate how Drupal installs the module. FCKeditor is a WYSIWYG editor, the use of a wide range, the reason why this editor is selected for later integration of image upload easy.

The first step is to download the required files. Need to download two packages, one is to consolidate fckeditor to Drupal plug-in, one is FCKeditor package.

The second step is to upload the file to the server. Follow the steps below to upload:

First upload the FCKeditor plug-in package FCKeditor to the module directory, as shown below:

  

1.png (1.42 KB)

2008-6-3 18:41

Then put all the files in the FCKeditor editor in the Module/fckeditor/fckeditor directory

This completes the file upload

Step three. Enable plugins

Landing Drupal, enter Adminster--〉module will see in the plug-in management of the FCKeditor we just uploaded (the following figure), select it, and then save the settings.

  

2.png (5.25 KB)

2008-6-3 18:41

  

3.png (3.85 KB)

2008-6-3 18:41

Step fourth, set the FCKeditor editor.

After you install the FCK editor, you need to set up and enter the FCK management interface in the following locations:

  

4.png (5.46 KB)

2008-6-17 18:06

The FCK parameter settings interface is shown in the following illustration:

  

5.png (12.65 KB)

2008-6-17 18:06

The main settings FCK configuration file, the default is two, corresponding anonymous user group and authenticated user group, if you create a new user group can create the corresponding configuration file. Because visitors generally do not have editing permissions, we set up a good authenticated user group. Set the Access FCKeditor permission on the authenticated user in the user management-->permissions before setting up the authenticated user group cannot use FCK. You cannot associate a configuration file with it. A detailed description of the permissions is presented in a later article.

Click the Advanced configuration file after edit to start editing this configuration file, mainly set the following:

The first section sets the profile name, the associated user group, and whether the user is allowed to customize the toolbar:

  

11.png (10.34 KB)

2008-6-17 18:06

The second part is the visibility settings, generally do not need to modify

The third part is the FCK Editor's appearance settings, including what form the toolbar is displayed, what buttons are displayed, and so on. In the toolbar option, you can select the contents of the FCK Editor's toolbar, and you can test each option to see which one is appropriate for your use, and default is quite rich.

  

6.png (26.97 KB)

2008-6-17 18:06

The Forth part is the output setting, which is generally used by default:

  

7.png (6.98 KB)

2008-6-17 18:06

Part V is the CSS settings, generally use the default can be:

  

8.png (8.02 KB)

2008-6-17 18:06

The six section is the file management setting, which sets whether to allow FCK to manage files. If you need to upload a picture via FCK, you need to set it to true.

  

9.png (9.39 KB)

2008-6-17 18:06

The last part is the advanced option, which is generally not set.

After this set up and then into the Create content-->story inside open the editing window, you will see the FCK editing interface:

  

12.png (6.21 KB)

2008-6-17 18:06

After this setup, you will encounter the following error when uploading pictures:

  

10.png (4.91 KB)

2008-6-17 18:10

Solution: Need to be here fckeditor/fckeditor/editor/filemanager/connector/php inside config.php file inside the 30th line config[enabled]= False to True. Otherwise a connector error occurs.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.