CKEditor with FileManager howto

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
mpol_ch
User
Posts: 877
Location: Switzerland

CKEditor with FileManager howto

Post by mpol_ch »

Hi,
I am trying to aktivate the file manager for ckeditor.
But it does not work.
Is there some howtos to have a look?

Must I edit any config file to activate it or the activation of extensions is enough?

thank you
mpol_ch


arbei
User
Posts: 9356

Post by arbei »

Enable the [FCKeditorFileManager] in [Tools] -> [Extensions], and [CKEditor].

Click [Image] button in the CKEditor will open the file manager.


mpol_ch
User
Posts: 877
Location: Switzerland

Post by mpol_ch »

Hi,

thank you. But now I can only upload images and I am not able to upload xlsx, docx and so on.
Could you please advise how to approact to upload also the other files?
File types xlsx and doc is alrready allowed to be uploaded in PHPMAKER.

thanks
mpol_ch


arbei
User
Posts: 9356

Post by arbei »

Update the config.php in \ckeditor\filemanager\connector\php\ of your application folder.

Add the extensions in $Config['AllowedExtensions']['File'] and try again.


mpol_ch
User
Posts: 877
Location: Switzerland

Post by mpol_ch »

hi,

thank you. I did the correction.
Now I can see the files such docs and pdf but when select them to upload then I am getting the following error: Invalid file.
I enabled the same file type in PHPMAKER too.
Where should I check?

thanks
mpol_ch


arbei
User
Posts: 9356

Post by arbei »

When you click the "Image" to open the file manager, it is using its own config, the $Config['AllowedExtensions']['Image'], to determine if the file is valid or not.

So add the extension to $Config['AllowedExtensions']['Image'] then try again.


mpol_ch
User
Posts: 877
Location: Switzerland

Post by mpol_ch »

thanks a lot.
It works now.

mpol_ch


Post Reply