Hello, i'm using ChronoForms 4 RC2 on Joomla 1.5.23.
In Joomla I configured JCE as default editor, instead of classic TinyMCE.
But, when I configure an "Header" field to a form, and I click to "Add/remove editor", it uses the classic editor and not JCE.
There is any way to use JCE as editor in ChronoForms? It would be useful i.e. for uploading images, inserting advances links, selecting styles, and so on...
Thanks
In Joomla I configured JCE as default editor, instead of classic TinyMCE.
But, when I configure an "Header" field to a form, and I click to "Add/remove editor", it uses the classic editor and not JCE.
There is any way to use JCE as editor in ChronoForms? It would be useful i.e. for uploading images, inserting advances links, selecting styles, and so on...
Thanks
Hi abletech,
Not that I know of - at least not without hacking the code. Max chose to use JCE in ChronoForms v3 for some technical reason and I guess that he's carried that over to CFv4.
Bob
Not that I know of - at least not without hacking the code. Max chose to use JCE in ChronoForms v3 for some technical reason and I guess that he's carried that over to CFv4.
Bob
I found that TinyMCE initialization code is in file:
/administrator/components/com_chronoforms/form_actions/email/email.ctp
Removing this code, the editor stop working also in Header field.
It seems very strange to have a code globally used in a specific CTP file of a form action...
I would suggest to move it to a generic file, like the form_wizard view.
However for enabling JCE, I tried removing the Javascript referring TinyMCE in the email.ctp file, using something like this in html_helper.php, inside "textarea" case:
The JCE editor shows up, but it does not work.
I think you should consider using similar code, because it's the standard way in Joomla.
/administrator/components/com_chronoforms/form_actions/email/email.ctp
Removing this code, the editor stop working also in Header field.
It seems very strange to have a code globally used in a specific CTP file of a form action...
I would suggest to move it to a generic file, like the form_wizard view.
However for enabling JCE, I tried removing the Javascript referring TinyMCE in the email.ctp file, using something like this in html_helper.php, inside "textarea" case:
$wysiwyg = & JFactory::getEditor();
$output .= $wysiwyg->display($tag["name"], $tag["value"] '100%', '400', $tag["cols"], $tag["rows"]);
The JCE editor shows up, but it does not work.
I think you should consider using similar code, because it's the standard way in Joomla.
Hi AbleTech,
Bob
The JCE editor shows up, but it does not work.
That may be why Max chose not to use it?Bob
This topic is locked and no more replies can be posted.
