Share » Forums » Developer » Creating content from code

Creating content from code

Creating content from code

Monday 24 January 2011 5:48:48 am - 2 replies

Modified on Monday 24 January 2011 5:50:37 am by Heiko Irrgang

Author Message

Heiko Irrgang

Tuesday 25 January 2011 12:56:14 am

Ok, i am a little step closer: A) the correct field is 'short_description', not 'summary' and B) id does save the data in the fields, if i use

$parentNode = eZContentObjectTreeNode::fetchByURLPath( 'my_imported_stuff/test');

$m=$parentNode->dataMap();
var_dump($m['description']->content());

.... it displays the correct values, but it does not show the values in the admin interface.

Could this be some problem because i am running a multi lingual page?

Heiko Irrgang

Tuesday 25 January 2011 1:12:33 am

arrrrrr, found it: it is the visual editor, it filters out the <p>AGGI</p> :-/

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

36 542 Users on board!

Forums menu