Marc
Well-known member
Need some help pls guys. Sorry if this is a stupid question, however I'm lost 
Example:
OK my question is simple really. I am completely lost as to how to template the above with the variables. Im sure this is simple as most things tend to be in xenforo, but just cant get my head around it.

Example:
PHP:
class somePlace_ControllerPublic_Index extends XenForo_ControllerPublic_Abstract
{
public function actionIndex()
{
$text = "This is a shiny page";
foreach ($whatever as $loopie)
{
$shinyStuff = $loopie;
$text .= "blah blah ".$shinyStuff;
}
$viewParams = array(
'text' => $text,
);
return $this->responseView('somePlace_ViewPublic_Index', 'somePlace_Index', $viewParams);
}
}
OK my question is simple really. I am completely lost as to how to template the above with the variables. Im sure this is simple as most things tend to be in xenforo, but just cant get my head around it.