config.doksoft_uploader_url = '/admin/ckeditorfull/plugins/doksoft_uploader/uploader.php';
$config['BaseUrl'] = '/admin/ckeditorfull/plugins/doksoft_uploader/userfiles/ ';$config['BaseDir'] = '/var/www/admin/ckeditorfull/plugins/doksoft_uploader/userfiles/';
$config['BaseUrl'] = preg_replace('/(uploader\.php.*)/', 'userfiles/', $_SERVER['PHP_SELF']);
$config['BaseDir'] = dirname(__FILE__).'/userfiles/';
CKEDITOR.editorConfig = function( config ) {
config.toolbarGroups = [
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] },
{ name: 'links' },
{ name: 'insert' },
{ name: 'forms' },
{ name: 'tools' },
{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
{ name: 'others' },
{ name:'doksoft_image'},
'/',
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },
{ name: 'styles' },
{ name: 'colors' },
{ name: 'about' }
];
config.removeButtons = 'Underline,Subscript,Superscript,Image';
config.extraPlugins = 'doksoft_image';
config.doksoft_uploader_url = '/admin/ckeditorfull/plugins/doksoft_uploader/uploader.php';
config.format_tags = 'p;h1;h2;h3;pre';
config.removeDialogTabs = 'image:advanced;link:advanced';
};
The installation guide is not 100% clear on where to amend the upload path in the config.php file, and I may have the path to the actual uploader wrong in my config.js file also.
For example, exactly where in these lines do I add my own upload file paths in the config.php file? and and does the path to the php uploader in the config.js file need to be absolute or can it be relative?:
EG or neither of the above work.
File permissions are ok, I think I am just struggling with the file paths...