Code:
public function actionIndex()
{
// do stuff here to build $viewParams array and then...
$viewParams = array();
return $this->responseView(
'MyAddOn_ViewPublic_Something_Index', // view name
'onesignal_manifest', // content template name
$viewParams, // data to be passed to content template
array('containerTemplate' =>
'onesignal_manifest') // your own container template
);
}
Can somebody point me in the direction on where I should be reading for more information?
All I want to do is call a template called "onesignal_manifest" under containerTemplate.
Everything works but, working != right.
What is "MyAddOn_ViewPublic_Something_Index" ?
What is the content template name? is that the same as the containerTemplate?