Page 1 of 1

tinyMCE and FrontEndusers

Posted: Tue Jan 06, 2009 2:45 pm
by khaled_isamm
hello

I installed the module FrontEndUsers and i want  to use TinyMCE to change settings(textarea).

I chose TinyMCE  as the public WYSIWYG.
I changed the parameters of the function CreateTextArea (true, $ id, $ val,
                            'feu_. $ onerow-> name); (true  to activate the wysiwyg editor).

editor appears but does not work correctly.  :(

Re: tinyMCE and FrontEndusers

Posted: Tue Jan 06, 2009 2:48 pm
by calguy1000
FEU doesn't support using wysiwygs for user text area properties (yet).

It's coming soon.

Re: tinyMCE and FrontEndusers

Posted: Tue Jan 06, 2009 2:56 pm
by khaled_isamm
calguy1000 wrote: FEU doesn't support using wysiwygs for user text area properties (yet).

It's coming soon.
thanks for the replay

are there any solution to use an editor for the textareas

Re: tinyMCE and FrontEndusers

Posted: Tue Jan 06, 2009 3:50 pm
by khaled_isamm
My solution

{php}if (isset($_GET['cntnt01form']) && ($_GET['cntnt01form']=="changesettings") ){{/php}
{literal}


tinyMCE.init({
theme : "advanced",
mode : "textareas",
language : "fr",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left", theme_advanced_path_location : "bottom",
content_css : "example_advanced.css", extended_valid_elements : "a[href|target|name]",
plugins : "table",
theme_advanced_buttons3_add_before : "tablecontrols,separator",
theme_advanced_styles : "Header 1=header1;Header 2=header2;Header 3=header3;Table Row=tableRow1", // Theme specific setting CSS classes
width:"500px",
height:"250px"
});

{/literal}
{php}}{/php}