close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Any chance of getting some help on HTMLEditors FIle Manager

Thread began 3/18/2013 11:05 pm by neo314 | Last modified 3/20/2013 8:05 am by neo314 | 2671 views | 22 replies

neo314

So I feared...

It kills that portion of the GUI, but kcfinder is still easy to integrate with WASA. In fact all you have to do, once configured, is add a session value for $_SESSION["KCFINDER"]["disabled"] = false.

Since I could not put an array compatible name in the WASA GUI, I added a login session value of filemanager (added a field to the user table) which is boolean and determined by access level (7 or higher).

Then I just added a code snippet to the top of kcfinder's config.php file:

/*
WA Accomodation
*/
if (!isset($_SESSION)) {
session_start();
}
if (isset($_SESSION["filemanager"]) && ($_SESSION['filemanager'] == 1)) {
$_SESSION["KCFINDER"]["disabled"] = false;
} else {
$_SESSION["KCFINDER"]["disabled"] = true;
}

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