hi,
i made a cms where all people registered share the same admin pages. de logon choose the directories(folder). Every user have your own directories.
but i encontered a problem on that.
there's a way to pass a dynamic parameter to fckconfig.js,
doing something like that:
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'popups/file/insert_file.php?user_logon=' + .user_logon;
editor "live" on a php page, I wold like to do this:
...
oFCKeditor.Create() ;
can someone show me a way?
thanks
i made a cms where all people registered share the same admin pages. de logon choose the directories(folder). Every user have your own directories.
but i encontered a problem on that.
there's a way to pass a dynamic parameter to fckconfig.js,
doing something like that:
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'popups/file/insert_file.php?user_logon=' + .user_logon;
editor "live" on a php page, I wold like to do this:
...
user_logon = <?echo $user_logon;?> ;
oFCKeditor.Value = '<?echo $texto_recuperado;?>' ;
oFCKeditor.Create() ;
can someone show me a way?
thanks
RE: dynamic param. in FCKConfig.ImageBrowserU
i solve my own problem with a simple thing:
in the page of editor:
<input type='hidden' id='site_usuario_paliativo' name='site_usuario_paliativo' value='<?echo $site_usuario;?>'>
before load editor
and in fckconfig.js:
site_usuario = parent.document.getElementById("site_usuario_paliativo").value;
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'popups/file/insert_file.php?site_usuario=' + site_usuario;
thats it... certainly it not be include in oficial version, but who need can be use this simple way
thanks