You need to be logged in to post in the forum - Log In
An active JCE Pro Subscription is required to post in the forum - Buy a Subscription
- Support
- Forum
- JCE Editor
- Add JCE textarea to a Chronoforms form
Support is currently Online
Official support hours:
Monday To Friday
From 09:00 To 17:00 Europe/London (BST)
From 09:00 To 17:00 Europe/London (BST)
Hi! With Chronoforms 5 we can add a textarea to a form with an WYSIWYG editor. But Chronoforms currently only can use de TinyMCE editor.
I can use a custom field to load a JCE textarea with something like this:
<?php
$editor = JFactory::getEditor();
$editor->display( 'text', $text '550', '400', '60', '20') ;
?>
This does put a JCE textarea in the form. But I need to use a specific profile I made in JCE for this textarea. Is this possible?
Where can I find some more documentation on the parameters for the $editor->display? I now shows a editor plugin button as well...
Kind regards,
Jip
I can use a custom field to load a JCE textarea with something like this:
<?php
$editor = JFactory::getEditor();
$editor->display( 'text', $text '550', '400', '60', '20') ;
?>
This does put a JCE textarea in the form. But I need to use a specific profile I made in JCE for this textarea. Is this possible?
Where can I find some more documentation on the parameters for the $editor->display? I now shows a editor plugin button as well...
Kind regards,
Jip
This worked for me:
Where 'introtest' will be used by Chronforms in the form data.
<?php
$editor =JFactory::getEditor();
$params = array( 'smilies'=> '0' ,
'style' => '1' ,
'layer' => '0' ,
'table' => '0' ,
'clear_entities'=>'0'
);
echo $editor->display( 'introtest', '', '400', '400', '20', '20', false, $params );
?>
Where 'introtest' will be used by Chronforms in the form data.
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!