close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How to change the path to the upload folder of the HTML Editor

Thread began 5/15/2020 3:05 pm by administration282761 | Last modified 5/18/2020 1:46 pm by Ray Borduin | 16 views | 2 replies |

administration282761

How to change the path to the upload folder of the HTML Editor

I am creating a CMS system that uses the HTML Editor application. The editor is embedded in an add/ update page that is in a separate password protected directory in the root of my server. However, when I add (upload) an image to the text area it goes to the upload folder in the CMS directory but not to the upload folder in the root. This of course causes the images to display incorrectly when the page is loaded.

Is there a way to change the upload path so that the images added in the CMS interface are uploaded to a directory outside of the CMS directory?

Thanks.

Sign in to reply to this post

Ray BorduinWebAssist

Yes you should be able to set the upload directory to be anywhere on your server. That can be set in the file manager settings through the ui, or in the config folder directly. I'm not sure what version you are using, so I can't give a precise path.

If you give me a url to reproduce the issue and tell me what folder it uses and what folder you want it updated to then I could maybe give more specific instructions.

Sign in to reply to this post
Did this help? Tips are appreciated...

administration282761

Thanks

I changed this line in the 'config.php' file in the 'kcfinder/conf' directory and it seems to work - although the site is not not yet live.

from this:
$_SESSION['KCFINDER']['uploadURL'] = "../.." . $userUploadFolder

to this:

$_SESSION['KCFINDER']['uploadURL'] = "../../.." . $userUploadFolder

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...