tinyMCE and FrontEndusers

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
khaled_isamm
New Member
New Member
Posts: 5
Joined: Wed Nov 12, 2008 11:23 am

tinyMCE and FrontEndusers

Post 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.  :(
Last edited by khaled_isamm on Tue Jan 06, 2009 2:48 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: tinyMCE and FrontEndusers

Post by calguy1000 »

FEU doesn't support using wysiwygs for user text area properties (yet).

It's coming soon.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
khaled_isamm
New Member
New Member
Posts: 5
Joined: Wed Nov 12, 2008 11:23 am

Re: tinyMCE and FrontEndusers

Post 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
khaled_isamm
New Member
New Member
Posts: 5
Joined: Wed Nov 12, 2008 11:23 am

Re: tinyMCE and FrontEndusers

Post 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}
Post Reply

Return to “Developers Discussion”