Share » Forums » Developer » PHP content object translation

PHP content object translation

PHP content object translation

Wednesday 02 September 2009 8:58:11 am - 2 replies

Author Message

Carlos Revillo

Wednesday 02 September 2009 11:49:28 am

titre is the identifier for the attribute you have defined, but it's not part of the definition of the ezcontentobjectattribute_class.

supposing 'titre' as a ezstring datatype, you could try with

...
$contentObjectAttributes[0]->setAttribute( 'data_text', 'TITLE ENGLISH');
$contentObjectAttributes[0]->store();
...

hope it helps.

Joël LEGER

Thursday 03 September 2009 2:44:14 am

yes , works fine
thx

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

36 542 Users on board!

Forums menu