| Re: Unable to use ANY wusiwug editor-help |
| by McDonald on 2008/1/29 23:45:05 Check in the style.css of your theme if display: block; is defined for the main menu: le="color: #000000"><?php td#mainmenu a { color:#FFFFFF; display: block; margin: 0; padding: 4px;}
|
| Re: Unable to use ANY wusiwug editor-help |
| by AlexSolo on 2008/1/29 23:01:13 Just upgraded. Will let you know. Figured out what is wrong with my theme. It is the theme itself. When choosing the default theme from the new install everything lines up perfectly. Now I have to replace blue-lagoon theme and it's a shame cause everybody loves it. Need a theme appropriate for a swimm team. |
| Re: Unable to use ANY wusiwug editor-help |
| by McDonald on 2008/1/29 22:54:30 Consider upgrading to SmartSection 2.13 or check the function smartsection_getEditor in include/functions.php. Probably the paths to the editors are incorrect. The function should look like this: le="color: #000000"><?php function smartsection_getEditor($caption, $name, $value, $dhtml = true) { $smartConfig =& smartsection_getModuleConfig(); global $xoops22; if (!isset($xoops22)) { $xoops22 = smartsection_isXoops22(); } $editor_configs=array(); $editor_configs["name"] = $name; $editor_configs["value"] = $value; $editor_configs['caption'] = $caption; $editor_configs["rows"] = 35; $editor_configs["cols"] = 60; $editor_configs["width"] = "100%"; $editor_configs["height"] = "400px"; switch ($smartConfig['use_wysiwyg']) { case 'tiny' : if (!$xoops22) { if ( is_readable(XOOPS_ROOT_PATH . "/class/xoopseditor/tinyeditor/formtinyeditortextarea.php")) { include_once(XOOPS_ROOT_PATH . "/class/xoopseditor/tinyeditor/formtinyeditortextarea.php"); $editor = new XoopsFormTinyeditorTextArea(array('caption'=>$caption, 'name'=>$name, 'value'=>$value, 'width'=>'100%', 'height'=>'400px')); } else { if ($dhtml) { $editor = new XoopsFormDhtmlTextArea($caption, $name, $value, 20, 60); } else { $editor = new XoopsFormTextArea($caption, $name, $value, 7, 60); } } } else { $editor = new XoopsFormEditor($caption, "tinyeditor", $editor_configs); } break; case 'inbetween' : if (!$xoops22) { if ( is_readable(XOOPS_ROOT_PATH . "/class/xoopseditor/inbetween/forminbetweentextarea.php")) { include_once(XOOPS_ROOT_PATH . "/class/xoopseditor/inbetween/forminbetweentextarea.php"); $editor = new XoopsFormInbetweenTextArea(array('caption'=> $caption, 'name'=>$name, 'value'=>$value, 'width'=>'100%', 'height'=>'300px'),true); } else { if ($dhtml) { $editor = new XoopsFormDhtmlTextArea($caption, $name, $value, 20, 60); } else { $editor = new XoopsFormTextArea($caption, $name, $value, 7, 60); } } } else { $editor = new XoopsFormEditor($caption, "inbetween", $editor_configs); } break; case 'fckeditor' : if (!$xoops22) { if ( is_readable(XOOPS_ROOT_PATH . "/class/xoopseditor/fckeditor/formfckeditor.php")) { include_once(XOOPS_ROOT_PATH . "/class/xoopseditor/fckeditor/formfckeditor.php"); $editor = new XoopsFormFckeditor($editor_configs,true); } else { if ($dhtml) { $editor = new XoopsFormDhtmlTextArea($caption, $name, $value, 20, 60); } else { $editor = new XoopsFormTextArea($caption, $name, $value, 7, 60); } } } else { $editor = new XoopsFormEditor($caption, "fckeditor", $editor_configs); } break; case 'koivi' : if (!$xoops22) { if ( is_readable(XOOPS_ROOT_PATH . "/class/wysiwyg/formwysiwygtextarea.php")) { include_once(XOOPS_ROOT_PATH . "/class/wysiwyg/formwysiwygtextarea.php"); $editor = new XoopsFormWysiwygTextArea($caption, $name, $value, '100%', '400px'); } else { if ($dhtml) { $editor = new XoopsFormDhtmlTextArea($caption, $name, $value, 20, 60); } else { $editor = new XoopsFormTextArea($caption, $name, $value, 7, 60); } } } else { $editor = new XoopsFormEditor($caption, "koivi", $editor_configs); } break; case "spaw": if(!$xoops22) { if (is_readable(XOOPS_ROOT_PATH . "/class/spaw/formspaw.php")) { include_once(XOOPS_ROOT_PATH . "/class/spaw/formspaw.php"); $editor = new XoopsFormSpaw($caption, $name, $value); } else { if ($dhtml) { $editor = new XoopsFormDhtmlTextArea($caption, $name, $value, 20, 60); } else { $editor = new XoopsFormTextArea($caption, $name, $value, 7, 60); } } } else { $editor = new XoopsFormEditor($caption, "spaw", $editor_configs); } break; case "htmlarea": if(!$xoops22) { if ( is_readable(XOOPS_ROOT_PATH . "/class/htmlarea/formhtmlarea.php")) { include_once(XOOPS_ROOT_PATH . "/class/htmlarea/formhtmlarea.php"); $editor = new XoopsFormHtmlarea($caption, $name, $value); } else { if ($dhtml) { $editor = new XoopsFormDhtmlTextArea($caption, $name, $value, 20, 60); } else { $editor = new XoopsFormTextArea($caption, $name, $value, 7, 60); } } } else { $editor = new XoopsFormEditor($caption, "htmlarea", $editor_configs); } break; default : if ($dhtml) { $editor = new XoopsFormDhtmlTextArea($caption, $name, $value, 20, 60); } else { $editor = new XoopsFormTextArea($caption, $name, $value, 7, 60); } break; } return $editor; }
|
| Re: Unable to use ANY wusiwug editor-help |
| by AlexSolo on 2008/1/29 21:01:56 I'm using 2.0.18. Can't get any form editor to work except tinyeditor. I am using smartsection 2.11 to post articles. any idea why my blocks became so wonky? Nothing in list form. All jumbled together. |
| Re: Unable to use ANY wusiwug editor-help |
| by McDonald on 2008/1/29 20:00:30 What XOOPS version? Do you have Framework installed (not necessary for tinyeditor)? If you're using 2.0.18 wait until 2.0.18.1 will be released (probably this weekend) or read the comments here. One thing that you might try is replacing class/xoopsform/themeform.php by this one: This fixed for me the meshed up toolbars in tinyeditor. |