Hi
I am using JCE editor on my site. When I enable the editor for a text area on a form it uses JCE but I can't work out how it chooses the profile.
I have a couple of editor profiles and I want the editor profile for text areas to be the same as the one used for members elsewhere, such as creating articles.
How does Chronoforms select the profile to use?
Thanks Bob, but I don't really want to change core files. It's just a pain when I upgrade.
I really was trying to understand what Chronoforms was doing.
After a lot of trial and error I believe it is picking the first front-end profile that is set for Super Users. Strange, but that seems to be the case.
Not the best as the Super User has extra abilities, but I found a work around.
I added Super Users to that profile and made it front-end only. This does mean in the front-end the Super User is limited. I then created another profile for Super Users for the back-end so in the back-end I get all options.
Hi JeffP,
I've never user JCE profiles so am working in the dark here (it's likely that Max hasn't used them either). I think that ChronoForms just calls the default editor - the code doesn't specify anything - and probably Joomla! calls the first profile in the list.
Bob
That's what I thought so I did some tests.
I disabled the first profile (id 1) and had a second enabled that was only active for Registered members. No editor at all was displayed.
I then included Super Users in the permissions for the second profile and it was then used.
Then I reenabled the first profile without Super Users and the second was still used.
When I included Super Users in the first profile it was used again.
So Super Users seems to be the critical property.
Of course, the profile had to be active and for Front End users as well. But it did not consider the member groups. That is for sure.
You said you use JCE Editor. How did you tell Chronoforms that JCE Editor should be used. When I go into the Header fields, the general tab will allow clicking to see the editor. TinyMCE is the Editor that show up. Is there a way to switch that to JCE or JoomlaCK?
Even extened TinyMCE would allow more options.
I haven't done anything special, and have not told Cf to use any particular editor.
I installed JCE and set it as the Joonla default editor. In then disabled the Tiny MCE editor plugin. I then created a profile in JCE.
I know CF uses the profile because I have customised which and where the editor buttons appear and this is reflected in the editor on the form.
Hi,
As far as I can see from a fairly quick dip in the code the Rich Text areas in the Admin (the Email Template, Header and Thanks Message text) all use TinyMCE and that is hard-coded in the extension. The Rich Text area used for textarea elements in the Front End uses currently set site default Editor.
Bob