I'd like to include the Tiny Mice WYSIWYG editor in the front end in a text area. Can anyone explain how this is done? I've come across a few posts that include snippets of both HTML and PHP code, but I have no idea where to add them! (and not sure if things have changed in the most recent version of Chronoforms).
Any help appreciated.
Thanks,
John
Any help appreciated.
Thanks,
John
Hi John,
Sorry. no idea. It can probably be done in a Custom Code element. What code is needed to show a Tiny Mice editor?
Bob
Sorry. no idea. It can probably be done in a Custom Code element. What code is needed to show a Tiny Mice editor?
Bob
Actually, doesn't have to be tiny mice. Just any editor really. I use JCE. Someone posted these snippets but I have no idea where it would go! Then I guess there has to be some HTML to place in the Form code (I know where that is at least). Any idea where the PHP would go?
Thanks
John
Thanks
John
<?php
$editor =& JFactory::getEditor();
echo $editor->display( 'text_1', '{text_1}', '100%', '200', '75', '10', false);
?>
Hi John,
That look like the right code. Please try putting it into a Custom Code element (in ChronoForms v4), or add it to the Form HTML in ChronoForms v3.
I just checked in CFv4 and it works OK (just a bit wide for the page).
Bob
That look like the right code. Please try putting it into a Custom Code element (in ChronoForms v4), or add it to the Form HTML in ChronoForms v3.
I just checked in CFv4 and it works OK (just a bit wide for the page).
Bob
This topic is locked and no more replies can be posted.