Comments (7)
I don't quite understand what you mean by
'The editor is blank because the path is set to relative "plugins/..." in the html code of the page.'
but suggest you change PLUGIN_ROOTDIR to be an absolute path rather than a relative path.
Depending on your directory structure it might be something like
/home/xxx/public_html/plugins
from phplist-plugin-ckeditor.
I moved my plugin directory up one level and changed the plugin rootdir to be "../plugins" and the editor still seems to work. You will need to explain more clearly what is not working.
from phplist-plugin-ckeditor.
phpList is installed in the "root" of the website, so admin folder is: http://my.website.com/admin/
I've created a "new" plugins folder in the root folder and a documents folder: http://my.website.com/plugins/ & http://my.website.com/documents/
phpList "config.php" parameters:
$pageroot = '';
define("PLUGIN_ROOTDIR","/var/www/my.website.com/web/plugins");
define('UPLOADIMAGES_DIR',"/var/www/my.website.com/web/documents");
With those values, the editor doesn't work. With the change I've mentionned before it works, but KCFinder doesn't work. I've change with : $_SESSION['KCFINDER']['uploadURL'] = "http://my.website.com/documents";
It's not "good" but for now, it works.
from phplist-plugin-ckeditor.
With that definition of PLUGIN_ROOTDIR, do other plugins work?
On the Settings page, Config > Settings, check the values within 'composition settings' that are shown for the path to CKEditor and ptath to KCFinder.
UPLOADIMAGES_DIR needs to be a web path,not a file system path, see the advice in config.php:
... the directory is relative to the webserver root directory
Apart from these suggestions, I can't repeat your problem even after moving phplist to the root of the web site, so I am using urls like http://strontian/admin/?page=send&id=9 with the plugin directory defined as
define("PLUGIN_ROOTDIR","../plugins");
from phplist-plugin-ckeditor.
It is the only plugin I use on v3 for now, so I can't say if the other plugins works.
Composition settings :
path to CKeditor: plugins/CKEditorPlugin/ckeditor
path to KCFinder: plugins/CKEditorPlugin/kcfinder
If I change with:
path to CKeditor: /plugins/CKEditorPlugin/ckeditor
path to KCFinder: /plugins/CKEditorPlugin/kcfinder
It's OK.
I've changed the UPLOADIMAGES_DIR, I've misread the example, with "documents", it works
But it's a last "problem": in the sent email, links to the files are not good. For example, it's "/documents/image.jpg" instead of "http://my.website.com/documents/image.jpg". How can I correct that ?
from phplist-plugin-ckeditor.
I thought that absolute urls were being generated but it doesn't seem so now.
Can you see this forum post about how to remedy that http://forums.phplist.com/viewtopic.php?f=36&t=39471&p=96810#p96810
from phplist-plugin-ckeditor.
Absolute urls are generated in core phplist, sendemaillib.php.
from phplist-plugin-ckeditor.
Related Issues (18)
- upload images HOT 2
- unable to change font color HOT 1
- Upload never starts HOT 1
- img align attributes wrong for emails HOT 6
- CKEditor becomes slow and/or unresponsive after a few minutes in PHPList 3.2 HOT 2
- Problem with upload and browsing of Images HOT 4
- kcfinder - problem with subfolders HOT 5
- Disable Ckeditor without disabling the plugin HOT 6
- incorrect upload images should block upload HOT 7
- View/delete permissions on uploaded files HOT 15
- kcfinder issue with defined upload image directory ?? HOT 6
- upload directory - config HOT 2
- KCFinder PopUp Window doesnt work in Chrome or Safari HOT 3
- Forbidden error HOT 9
- Using RTL automatically HOT 1
- LTR/RTL buttons HOT 1
- Inline CSS - Outlook HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phplist-plugin-ckeditor.