I followed this tutorial (Knowledge Base - Add a New Custom Page to phpBB) and everything works except for my meta tags.
description is empty, I know I didn't add anything... (because I don't want to make 40 custom_overall_header.html)
How to add a custom description via the php file?
Code: Select all
<?php
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
page_header('My Title');
$template->set_filenames(array(
'body' => 'mypage.html',
));
make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx"));
page_footer();
?>