Hi there,
i try to create a content on a specific content type with JCckContentArticle in my PHP-File (position override), based on
this tutorial.
I tried with this simple syntax:
$content = new JCckContentArticle;
$data = array(
'title'=>'My Article 01'
);
$content->create( 'article', $data );
But no new article shows up and nothing happens in the database - how do i debug this? When i var_dump the $content variable, i get an object from hell with a million stuff in there :D
SOLUTION: Aaah, similar question, a month ago correct answered by Lionel: it was the permissions, needed to be an admin in the frontent^^