Welcome Guest, Not a member yet? Register   Sign In
tinyMCE & file manager/upload

I'm currently using tinymce for all textarea's and i want to know how to intergrate the file manager into my CI project...also any other suggestions on wysiwyg/uploaders to do all this at once.

You're going to need a controller that can handle all the background uploads that you can make AJAX calls to. I would start with doing some general research on AJAX uploads with TinyMCE.

I know there are multiple ways to do it, but it's not something I can simply "copy and paste" here for you to use in your project.

There are several filemanagers available for TinyMCE. Some free, some not. Some require flash for uploading, which won't work on stupid Apple iOS devices, if that's a concern. But that's what happens when you have CEOs with personal grudges and hold those higher than the best interest of their customers Smile

Smile to your post Chronix lol

OK i have found something searching around the net just workin on it as we speak!

Right got this working 98%, but a small problem:

when the link is

Because of routes and htaccess, it doesn't show the browser window instead show:
An Error Was Encountered

Unable to load your default controller. Please make sure the controller specified in your Routes.php file is valid.

SO my question is how does one get round this?

but if i open a new window and type:


it works just fine

Hard to answer without seeing the htaccess or the routes you are using...

Apologies my fault here's both htaccess and routes:


$route['default_controller'] = 'home';
$route['404_override'] = '';

| -------------------------------------------------------------------------
| -------------------------------------------------------------------------

$route['pages/(:any)'] = 'home/pages/$1'; // Pages Routes

$route['login'] = 'auth/login'; // Login
$route['logout'] = 'auth/logout'; // Logout
$route['forgot'] = 'auth/forgot_password'; // Forgot Password


<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /site/

    RewriteCond %{REQUEST_URI} ^system.*
    RewriteRule ^(.*)$ /index.php?/$1 [L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?/$1 [L]

<IfModule !mod_rewrite.c>
    ErrorDocument 404 /index.php

My guess is the url you are sending the request to is wrong. Look at the difference between what is working (that you posted) and what isn't. The one that isn't working has a part of the path that is repeated 2x.

Shit! Yer that was it been looking at over an hour, think it's time i went to bed!!! Been looking at the screen solid for last 11 hours, not good, thanks for your eyes Chronix...

Much appreciated!


Theme © iAndrew 2016 - Forum software by © MyBB