Tinymce imagmanager |
[eluser]megabyte[/eluser]
I solved this, here is the solution. Codeigniter does not use native php sessions. I thought that I could just do this in my auth login method: Code: //session_start(); But sadly it did not work. Chances are someone will solve this, as it would be a much easier quick solution. But anyway this si how I did it below. I adopted this from someone else who wrote something for CakePHP here: http://www.webbedit.co.uk/blog_posts/vie...ilemanager location: application/config/config.php Code: $config['uri_protocol'] = "PATH_INFO"; // so that it allows url string location: imagemanager/cofig.php Code: $mcImageManagerConfig['ExternalAuthenticator.external_auth_url'] = "/admi/auth/tinymce_auth"; // location of auth method below location: you/auth/controller Code: // I use an auth lib I derived from tank_auth this method below could be called anything The view: Code: <html> I hope this helps others. ***** just noticed its not letting me add the needed javascript to the body tag in the view. You need to add: onLoad="document.forms[0].submit();" |
Messages In This Thread |
Tinymce imagmanager - by El Forum - 03-19-2010, 12:49 PM
Tinymce imagmanager - by El Forum - 03-19-2010, 01:12 PM
Tinymce imagmanager - by El Forum - 03-19-2010, 01:34 PM
Tinymce imagmanager - by El Forum - 03-19-2010, 02:19 PM
Tinymce imagmanager - by El Forum - 05-15-2011, 02:01 AM
Tinymce imagmanager - by El Forum - 05-15-2011, 03:52 AM
Tinymce imagmanager - by El Forum - 05-15-2011, 08:07 AM
Tinymce imagmanager - by El Forum - 05-15-2011, 12:54 PM
|