i have a different and really simple question about fck... the image for the video button on the toolbar is broken, and i've copied Video.gif everywhere i can possibly think to put it. what's the path to where it should go? everything else works perfectly as far as i can tell.
OK i'm changing the fckeditor extension. and uploading it now. plus all changes u made to usertooltip info. revert them. I believe i told u to delete this line from the functions.js in usertooltipinfo folder window.onload = function() {
UserInfoTooltip.Init();
}
put it back in there. The new fckeditor extension that i'm uploading won't use windows.onload anymore. SO it should work with usertooltip info without making any changins to wither code.
Comments
i don't want to open up a new thread for the fck , and thats why i use this one again.
so this is an idea... i use sir nots page manager here http://lussumo.com/addons/?PostBackAction=AddOn&AddOnID=60 (as like many others)
it would be such an improvement for the whole system and it would beat the cms idea in many ways if you could add fck to the "html/php" text area.
because creating pages with such an dynamical editor , would be not only great it would be very innovative as well.
if ( in_array($Context->SelfUrl, array("settings.php")) ) { $Head->AddScript('js/FCKeditor/fckeditor.js'); $Head->AddString('<script type="text/javascript"> window.onload = function() { if (document.getElementById("txtTabHTML")) { var oFCKeditor = new FCKeditor("HTML") ; oFCKeditor.BasePath = "' . $Configuration['WEB_ROOT'] . 'js/FCKeditor/" ; oFCKeditor.Config["CustomConfigurationsPath"] = "' . $Configuration['WEB_ROOT'] . 'extensions/FCKeditor/config.js" ; oFCKeditor.Config["StylesXmlPath"] = "' . $Configuration['WEB_ROOT'] . 'extensions/FCKeditor/fckstyles.xml" ; oFCKeditor.Config["EditorAreaCSS"] = "' . $Configuration['WEB_ROOT'] . 'extensions/FCKeditor/content.css"; oFCKeditor.ToolbarSet = "Vanilla" ; oFCKeditor.ReplaceTextarea() ; } } </script>'); }
fck does not appear if i "Start a new discussion"
u have to add that code not replace it
window.onload = function() { UserInfoTooltip.Init(); if (document.getElementById("CommentBox")) { var oFCKeditor = new FCKeditor("Body") ; oFCKeditor.BasePath = "' . $Configuration['WEB_ROOT'] . 'js/FCKeditor/" ; oFCKeditor.Config["CustomConfigurationsPath"] = "' . $Configuration['WEB_ROOT'] . 'extensions/FCKeditor/config.js" ; oFCKeditor.Config["StylesXmlPath"] = "' . $Configuration['WEB_ROOT'] . 'extensions/FCKeditor/fckstyles.xml" ; oFCKeditor.Config["EditorAreaCSS"] = "' . $Configuration['WEB_ROOT'] . 'extensions/FCKeditor/content.css"; oFCKeditor.ToolbarSet = "Vanilla" ; oFCKeditor.ReplaceTextarea() ; document.getElementById("CommentBoxController").style.display = "none"; } }
ah this code from above disables the editor in a startup window ... what can i change?
$Configuration["FCKEDITOR_LOGINREQUIRED"] = false;
I believe i told u to delete this line from the functions.js in usertooltipinfo folder
window.onload = function() { UserInfoTooltip.Init(); }
put it back in there. The new fckeditor extension that i'm uploading won't use windows.onload anymore. SO it should work with usertooltip info without making any changins to wither code.
give me a couple of minutes to upload it