I try something with my pages, but here i dont understand the way:
class XenForo_ControllerPublic_Page extends XenForo_ControllerPublic_Abstract
{
public function actionIndex()
{
...
$response = $this->responseView(
'XenForo_ViewPublic_Page_View',
'pagenode_container',
$viewParams
);
Here we have $response now after calling XenForo_ViewPublic_Page_View;
but where is templateHtml?
public function renderHtml()
{
$this->_params['templateHtml'] = $this->createTemplateObject(
$this->_params['templateTitle'],
$this->_params
);
}
I need to manipulate the content of the template before this is called or after.
But how to touch that?
class XenForo_ControllerPublic_Page extends XenForo_ControllerPublic_Abstract
{
public function actionIndex()
{
...
$response = $this->responseView(
'XenForo_ViewPublic_Page_View',
'pagenode_container',
$viewParams
);
Here we have $response now after calling XenForo_ViewPublic_Page_View;
but where is templateHtml?
public function renderHtml()
{
$this->_params['templateHtml'] = $this->createTemplateObject(
$this->_params['templateTitle'],
$this->_params
);
}
I need to manipulate the content of the template before this is called or after.
But how to touch that?
Last edited: