Forums / Setup & design / How ta add Class when insert a object

How ta add Class when insert a object

Author Message

Jean-François Sénéchal

Wednesday 07 November 2007 3:39:39 am

Hello,

I have added this lines in settings/siteaccess/plain_site_admin/content.ini.append.php :

[embed]
AvailableClasses[]=image_left
AvailableClasses[]=image_right
AvailableClasses[]=image_none
ClassDescription[image_left]=Itemized Sub Items1
ClassDescription[image_right]=Itemized Sub Items2
ClassDescription[image_none]=Itemized Sub Items3

[object]
AvailableClasses[]=image_left
AvailableClasses[]=image_right
AvailableClasses[]=image_none
ClassDescription[image_left]=Itemized Sub Items1
ClassDescription[image_right]=Itemized Sub Items2
ClassDescription[image_none]=Itemized Sub Items3

I clear the cache

But when I add a object in a article, class drop down list is empty

What's wrong ?

Thanks

L'informaticien est comme un petit canard:
il est calme en surface mais en dessous il brasse beaucoup d'eau pour
avancer ...!

Jean-François Sénéchal

Friday 09 November 2007 1:19:02 am

Any idea ?

Thanks

L'informaticien est comme un petit canard:
il est calme en surface mais en dessous il brasse beaucoup d'eau pour
avancer ...!