【发布时间】:2020-05-09 06:29:15
【问题描述】:
我使用此代码通过我的自定义 PHP 代码在 XenForo 中显示页面节点:
class ungovernable_page_ControllerPublic_test
{
public static function getTest(XenForo_ControllerPublic_Abstract $controller, XenForo_ControllerResponse_Abstract &$response)
{
$page_title = "not working";
$response->params['page.title'] = $page_title;
$response->params['title'] = $page_title;
$response->params['html'] = $html;
return $response;
}
}
但是如何设置页面标题呢?
【问题讨论】: