My development board is in IN_DEV. Running 3.2.3.
I have the following code in my doExecute method...
// Get Template
$template = $this->registry->output->getTemplate('featuredcontent')->featured_index();
// send template
$this->registry->getClass('output')->addContent( $template );
// send output
$this->registry->getClass('output')->sendOutput();
In the ACP I've created the skin group skin_featuredcontent and in that group there is the featured_index template.. Yet IPB doesn't show the page. It white-pages!
When I add ini_set('display_errors', 1) to the conf_global.php I get the following error:
Fatal error: Call to undefined method skin_featuredcontent_0::featured_index() in <path>/admin/applications_addon/other/featuredcontent/modules_public/featured/featured.php on line 44
What's going on? Any help is appreciated, I've been going back and forth in the IPS docs and I'm just confused and lost now.
Edited by MadMikeyB, 18 October 2011 - 04:25 AM.





Contributor














