I'm either incredibly stupid or I dont know. Where does the page content go? Plus what's the deal with $template, It's not used anywhere?