effektdesign LiteCart Fan De Sweden Miembro desde mar. 2015 effektdesign 1 oct. 2015 10:37 I have tried to install sceditor but it does not work, I get this message: Parse error: syntax error, unexpected ',' in /var/www/html/dev/includes/functions/func_form.inc.php on line 288.
litecart Main Crew De Sweden Miembro desde feb. 2013 litecart 2 oct. 2015 01:41 What does your line 288 look like?
effektdesign LiteCart Fan De Sweden Miembro desde mar. 2015 effektdesign 2 oct. 2015 09:00 Like this: return ' '. lue, eters, )
litecart Main Crew De Sweden Miembro desde feb. 2013 litecart 2 oct. 2015 09:03 This code does not come from the SCEditor add-on which states the following: Go to includes/functions/func_form.inc.php and substitute the function form_draw_wysiwyg_field() with the following code instead: function form_draw_wysiwyg_field($name, $value=true, $parameters='', $hint='') { if ($value === true) $value = form_reinsert_value($name); document::$snippets['head_tags']['sceditor'] = '' . PHP_EOL . '' . PHP_EOL . '' . PHP_EOL . '' . PHP_EOL; return ''. htmlspecialchars($value) .'' . '' . PHP_EOL . ' $(""textarea[name=\''. $name .'\']"").sceditor({' . PHP_EOL . ' ""plugins"": ""xhtml,format"",' . PHP_EOL . ' ""width"": ""100%"",' . PHP_EOL . ' ""resizeEnabled"": true,' . PHP_EOL . ' ""style"": ""{snippet:template_path}styles/loader.css"",' . PHP_EOL . ' ""locale"": ""'. htmlspecialchars(language::$selected['code']) .'"",' . PHP_EOL . ' ""emoticons"": false,' . PHP_EOL . ' ""toolbar"": ""format|font,size,bold,italic,underline,strike,subscript,superscript|left,center,right,justify|color,removeformat|bulletlist,orderedlist,table|code,quote|horizontalrule,image,email,link,unlink|youtube,date,time|ltr,rtl|print,maximize,source""' . PHP_EOL . ' });' . PHP_EOL . '' . PHP_EOL; } SCEditor was removed due to bugs and the development seemed to have stalled. May I ask why you choose SCEditor over Trumbowyg?
effektdesign LiteCart Fan De Sweden Miembro desde mar. 2015 effektdesign 2 oct. 2015 11:43 Thanks. For no particular reason. I can live with Trumbowyg, so it's not a big deal for me ;), and if the development has stalled it's a reason to skip Sceditor.