9 years ago
3
Topic

Hi

JCE profiles are great since you can customize the icons you decide to show given the user group/acl. However we often need to allow/forbid some JCE functions accorging to a given content type for the same users.

Howe can we force the JCE profile in a seblod form please?

thanks

cyril 

Get a Book for SEBLOD
154 Posts
WebOne
9 years ago
0
Level 1

Hi. I don't know if you can select a JCE profile with PHP (according to one forum post I saw on their website - it cannot be done)  but one idea here is to check for the content type being shown and change the value of the parameter in the WYSIWYG field to load a different editor (eg : Dropeditor)

310 Posts
ricco
9 years ago
1
Level 1

Hi cyril,

I've done it before and it's quite easy.

You should create a new JCE profile in the back end profile management of JCE, then select it only for SEBLOD and front end use if that's what you want. Adjust the rest of the newly crated JCE profile options, and make a SEBLOD Wysiwyg editor field and choose JCE as the editor.

Best regards,

ricco

9 years ago
0
Level 2

Hi Ricco

thanks but it is not what I was asking for. I'm looking for a way to enable some given JCE profile given a content type.

thanks again

cyril

Get a VIP membership