close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How to set upload folder

Thread began 2/09/2018 11:34 pm by DeanCollins | Last modified 2/12/2018 1:52 pm by Ray Borduin | 56 views | 4 replies |

DeanCollins

How to set upload folder

Hello! Thanks for your help with my previous question about the HTML Editor. I have another.

I've set my upload folder as "..docs/news/images." And here's the code in the page:

$CKEditor_config["filebrowserBrowseUrl"] = "../webassist/kfm/index.php?uicolor=".urlencode(isset($CKEditor_config["uiColor"])?str_replace("#","#",$CKEditor_config["uiColor"]):"#eee")."&theme=webassist_v2&startup_folder=../docs/news/images";

However, uploads don't make it to that folder. Instead they wind up in "../img/uploads." And, if I upload a document such as a PDF, they get uploaded to "../img."

I must be missing a setting somewhere. Or I'm not seeing it. How do I get the uploads to go to the correct directory?

Sign in to reply to this post

Ray BorduinWebAssist

That is set up in the webassist/kfm/configuration.php file. If you send me a copy of that file I can help you with line numbers and code.

Sign in to reply to this post

DeanCollins

It's attached.

Sign in to reply to this post

Ray BorduinWebAssist

line 9:
$WAGLOBAL_images_folder = "img/uploads";

just set that to:
$WAGLOBAL_images_folder = "docs/news/";

Sign in to reply to this post

DeanCollins

Thanks!

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...