[eluser]brandingdavid[/eluser]
I added a return $results; to the category.php model page. Now I can print_r the array on the frontpage_view.php view file, but I am still getting the foreach loop error.
A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: views/frontpage_view.php
Line Number: 16
This one seems to relate to the child loop foreach statement. Also, for echoing the parent title, I get the number 0. Seems like the title and the id fetching got mixed up somehow... Not sure.