我使用此代码通过我的自定义 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;
}
}
但是如何设置页面标题呢?
我还在模板中添加了标题,但它不显示
qq_笑_17