2013-02-14, 10:00:22
I am setting up an extremely simple portfolio view. What I want to do is something like this:
How can I get the child pages in that sort of way? That's how I normally do it in a different CMS, so I hope I can do this with GetSimple. Thanks!
Code:
// Main portfolio page -- simple example without html formatting
foreach ($page->children as $child) {
echo $child->title;
echo $child->article_image; //i18n custom field name
}
How can I get the child pages in that sort of way? That's how I normally do it in a different CMS, so I hope I can do this with GetSimple. Thanks!