This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Setup & design » [Solved] Online editor classes...

[Solved] Online editor classes selection and CustomTag param

[Solved] Online editor classes selection and CustomTag param

Friday 28 August 2009 10:30:48 am - 6 replies

Hi there,

I can't find where I can assign a CSS class to an element with the OE v5 ?

I put in my content.ini :

ClassDescription[bleu_oe]=Paragraphe bleu

Seems to be ok, because if I turn off the editor and put the classe manually, the editor is keeping it when publishing.

But I can't find the way to assign this class via a button in the Online Editor toolbar ?

The perfect thing will be to have the "styles" dropdown list like in the example of TinyMCE :

Does someone know how to do it ?

Thanks in advance happy.gif Emoticon

Modified on Friday 28 August 2009 2:35:28 pm by Jeremy B.

Friday 28 August 2009 1:26:17 pm

It sounds like I'm missing something here...

Do I have to create a CustomTag in order to let an editor create a "blue paragraph" ?

Thanks to the one who can take the time to answer me happy.gif Emoticon

Friday 28 August 2009 1:44:12 pm

Click on the 'paragraph' name in the status line (tag path) on the bottom off the editor, that will open the properties of the tag. You can do this on all tags.

Friday 28 August 2009 2:09:59 pm

Aaaahh happy.gif Emoticon)

Thank you André, this was so simple...
Very nice extension btw happy.gif Emoticon

I very much appreciate your help André, and all answers you're giving to me for the past few days !

One litte more if you can :

I'm trying to create a CustomTag with a dropdown as parameter.
I configured it like this :

# Here I don't need built-in tags : factbox, sub, etc.



As documented in the ezoe_attrbiutes.ini file.
But I always get the default "text" input. Also tried with a "color" type, but I always get this same "text" input type.

Any idea why my tag param isn't taking the right type ?


Modified on Friday 28 August 2009 2:12:01 pm by Jeremy B.

Friday 28 August 2009 2:23:10 pm

nop happy.gif Emoticon

The [CustomAttribute_intro_couleur] block just needs to be in ezoe_attribute.ini[.append.php] instead, I don't document content.ini settings in ezoe_attribute.ini blunk.gif Emoticon

Modified on Friday 28 August 2009 2:24:38 pm by André R

Friday 28 August 2009 2:34:36 pm

Lol indeed, that's a good point happy.gif Emoticon

It works fine now !


Friday 14 February 2014 7:02:52 pm

missed an s, it has to be



You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from