close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Forms - Insert File Manager destination directory question

Thread began 7/28/2015 9:41 am by Charles | Last modified 3/29/2016 11:56 am by Ray Borduin | 2950 views | 23 replies |

Charles

Forms - Insert File Manager destination directory question

Trying to add a file upload feature for product images to our site in the easiest way. So I used the WA Form>Insert File Manager and created the file attached. It seems to work and does upload a test file(question-head.jpg) from a location I choose. My question is how do I control the TO<destination> location? I see the file in the upload panel(attached) as well as 2 others already there but I can't locate the file or identify/control its location.
I see other WA alternatives/tools to install an uploader but this seemed the simplest.

Attached Files
info.php
Sign in to reply to this post

Ray BorduinWebAssist

Go to WebAssist->HTML Editor->Site Settings

You can set the default upload folder from that interface.

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

Charles

Tried that and get the attached message, "These settings are managed thru your website admin area. Please log into your website admin to make changes." What would you suggest?

Sign in to reply to this post

Ray BorduinWebAssist

Are you using PowerCMS or Powerstore? If so, then that folder is managed through the admin. The error you are seeing implies that the folder path is set in the database through one of those tools.

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

Charles

Using PowerCMS. Thanks - I did not make that association. Changed settings there and it works fine.

Sign in to reply to this post

Charles

Been using the PowerCMS uploader just fine, but have a weird behavior. As in thread above, I changed the Upload directory to /images from the default PCMS directory of /files. However, without my changing any Settings, after a period of time, PCMS resets the upload directory to /files and then I have to go back and change it again as all my code references /images. My work around would be to change all my code and the Settings back to /files but maybe you have a better way to make the Settings to /images stick? Your help much appreciated.

Sign in to reply to this post

Ray BorduinWebAssist

The key is to figure out how and when it is changing the directory... then we can prevent it from happening again. I'm sure you could make it stick by hard coding it in the configuration file itself and not using the configurable settings.

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

Charles

Think I'd like to hard code it. Looks like that might be the js/listfolder.js or js/settings.js - not sure. Could use your help on what file and where to hard code it. Thank you

Sign in to reply to this post

Ray BorduinWebAssist

should be in the file:

webassist/kfm/configuration.php

If you send me a copy of that file I can reference line numbers.

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

Charles

Attached. Thank you.

Sign in to reply to this post
loading

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