[eluser]Aken[/eluser]
If the array you just posted is your $posts data, you're accessing the data incorrectly.
When you loop through it in your view via foreach, that single $post variable will contain this data structure:
Code:
Array
(
[child] => Array
(
[0] => stdClass Object
(
[ID] => 6
[title] => test-child3
[content] =>
[excerpt] =>
[image_primary] => a:13:{s:9:"file_name";s:16:"banner_kiri1.jpg";s:9:"file_type";s:10:"image/jpeg";s:9:"file_path";s:49:"D:/Webxampp/xampp/htdocs/citralandkendari/upload/";s:9:"full_path";s:65:"D:/Webxampp/xampp/htdocs/citralandkendari/upload/banner_kiri1.jpg";s:8:"raw_name";s:12:"banner_kiri1";s:9:"orig_name";s:16:"banner_kiri1.jpg";s:8:"file_ext";s:4:".jpg";s:9:"file_size";s:5:"62.85";s:8:"is_image";s:1:"1";s:11:"image_width";s:3:"250";s:12:"image_height";s:3:"700";s:10:"image_type";s:4:"jpeg";s:14:"image_size_str";s:24:"width="250" height="700"";}
[image_secondary] =>
[article_post] => multiple
[slug] => test-child3
[is_dynamic] => 1
[allow_edit] => 1
[author] => 1
[author_modified] => 1
[parent] => 3
[status] => 1
[date_add] => 2011-06-23 15:09:48
[date_modified] => 2011-07-13 15:59:32
)
)
[parent] => stdClass Object
(
[ID] => 3
[title] => test 3
[content] =>
[excerpt] =>
[image_primary] => a:13:{s:9:"file_name";s:16:"banner_kiri1.jpg";s:9:"file_type";s:10:"image/jpeg";s:9:"file_path";s:49:"D:/Webxampp/xampp/htdocs/citralandkendari/upload/";s:9:"full_path";s:65:"D:/Webxampp/xampp/htdocs/citralandkendari/upload/banner_kiri1.jpg";s:8:"raw_name";s:12:"banner_kiri1";s:9:"orig_name";s:16:"banner_kiri1.jpg";s:8:"file_ext";s:4:".jpg";s:9:"file_size";s:5:"62.85";s:8:"is_image";s:1:"1";s:11:"image_width";s:3:"250";s:12:"image_height";s:3:"700";s:10:"image_type";s:4:"jpeg";s:14:"image_size_str";s:24:"width="250" height="700"";}
[image_secondary] =>
[article_post] => multiple
[slug] => test-3
[is_dynamic] => 0
[allow_edit] => 1
[author] => 1
[author_modified] => 1
[parent] => 0
[status] => 1
[date_add] => 2011-06-05 16:02:24
[date_modified] => 2011-07-13 18:24:29
)
)
If you are trying to access the parent data, you'll need to do so like this:
Code:
$post['parent']->title;
$post['parent']->image_primary;