User Tools

Site Tools


plugin:ckeditor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
plugin:ckeditor [2020/03/15 21:42]
winzig45 [Image browsing is not available because directory "/xxxx" does not exist or is not writeable]
plugin:ckeditor [2020/08/07 02:16] (current)
winzig45 [config.php]
Line 24: Line 24:
 The UPLOADIMAGES_DIR value in config.php must be set to the location of a directory where KCFinder can store uploaded images. The directory must be writable by the web server. Note that the value is relative to the web root and must not contain a leading '/'​. The UPLOADIMAGES_DIR value in config.php must be set to the location of a directory where KCFinder can store uploaded images. The directory must be writable by the web server. Note that the value is relative to the web root and must not contain a leading '/'​.
  
-If the UPLOADIMAGES_DIR value in config.php is set to ''​false'' ​then kcFinder will be disabled and image uploading will not be possible.+<​code ​php>define('UPLOADIMAGES_DIR''upload');</​code>​
  
 +If the UPLOADIMAGES_DIR value in config.php is set to ''​false''​ then KCFinder will be disabled and image uploading will not be possible.
 +
 +The upload directory will be shared by all admins. You can give each admin their own private directory using IMAGE_DIR_PER_ADMIN. ​
 +
 +<code php>​define('​IMAGE_DIR_PER_ADMIN',​ true);</​code>​
 +
 +KCFinder will use a subdirectory of UPLOADIMAGES_DIR named after the admin login id (1, 2, 3 etc.), creating the subdirectory on first-use. The subdirectory is private to the admin, and there is no sharing of image files.
 +
 +=== SELINUX configuration for images dir ===
 +
 +To make this work with selinux enforced on centos7 with apache and phplist installed in ''/​var/​www/​html/​lists''​
 +
 +Edit config.php adding the following to the end of the file;
 +
 +''​define ('​UPLOADIMAGES_DIR',​ '​lists/​uploadimages'​);''​
 +
 +<code bash>cd lists
 +mkdir uploadimages uploadimages/​image uploadimages/​flash uploadimages/​files
 +chown -R apache:​apache uploadimages/​
 +semanage fcontext -a -t httpd_sys_rw_content_t /​var/​www/​html/​lists/​uploadimages
 +chcon -Rv --type=httpd_sys_rw_content_t /​var/​www/​html/​lists/​uploadimages
 +</​code>​
 ==== Settings page ==== ==== Settings page ====
  
Line 63: Line 85:
 ===== Upgrade KCFinder ===== ===== Upgrade KCFinder =====
  
-The plugin includes KCFinder 3.12 but will not automatically upgrade to a new release. You can check for a new release of KCFinder from [[http://​kcfinder.sunhater.com/​download|http://​kcfinder.sunhater.com/​download]]. 
  
-To install the build, expand the zip file, copy the kcfinder directory to your web site, and specify the path to the directory on the Settings pageIt is recommended to use a new directory rather than overwriting ​the KCFinder ​version in the plugin'​s directory, so that it will not be affected if you upgrade the plugin.+The plugin includes KCFinder 3.20 but the KCFinder ​package is no longer developed or supported.
  
 ===== Upgrade from phplist 2.10.x with FCKEditor ===== ===== Upgrade from phplist 2.10.x with FCKEditor =====
Line 87: Line 108:
 {{:​plugin:​path_to_upload.png?​nolink|}} {{:​plugin:​path_to_upload.png?​nolink|}}
  
-**SELINUX** configuration for images dir 
-To make this work with selinux enforced on centos7 with apache. 
  
-  * Edit config.php 
-  * Add the following to the end of the file; define ('​UPLOADIMAGES_DIR',​ '​lists/​uploadimages'​);​ 
-  * cd lists 
-  * mkdir uploadimages,​ uploadimages/​mkdir,​ uploadimages/​flash uploadimages/​files 
-  * chown -R apache:​apache uploadimages/​ 
-  * semanage fcontext -a -t httpd_sys_rw_content_t /​var/​www/​html/​lists/​uploadimages 
-  * chcon -Rv --type=httpd_sys_rw_content_t /​var/​www/​html/​lists/​uploadimages 
 ==== Warning, Unknown failure ==== ==== Warning, Unknown failure ====
  
plugin/ckeditor.1584308536.txt.gz · Last modified: 2020/03/15 21:42 by winzig45

Resources
Contact Us

e: info@phplist.com

Boring Bit

phpList is a registered limited company

UK Company No. 07582966

VAT Registration 122 0788 37

© phpList 2016