I am using tincymce as the content editor and file manager in a PHP admin area. How can I change the file path dynamically so that I can use one instance of the editor for different organized functions?
I can easily pass a variable to the tinymce.init configuration, but I am not aware of and can not find a configuration option for the file path.
The actual file path variable is in the plugin’s config.php file as $mcFileManagerConfig[‘filesystem.path’] and $mcFileManagerConfig[‘filesystem.rootpath’]
How can I pass my variable to this file?
Create yourself a mall view that is just for wysiwyg configuration. Then you can assign specific properties to TinyMCE instances based on the textarea names.
http://pastie.org/853208
There should be plenty of code in there for you to look through. As long as that view is included in the head, your TinyMCE setups should all work perfectly and all be different.