Create a New Page in phpBB2
But what´s that? There´s something like {L_CONTENT} in the template file, how do I create my own variables?
Just go to your tos.php file, find:
Just go to your tos.php file, find:
Code:
- $template->pparse('body');
And before, add:
Code:
- $template->assign_vars(array(
- 'L_TOS_TITLE' => $lang['tos_title'],
- 'L_CONTENT' => $lang['content'])
- );
And were done. ;) With this tutorial you should be able to add a TOS (or whatever page you want) to your forum and let it be compatible with whichever style you´re using and whichever language your forum is, without having to include different tos files.
Hope this help you somehow.
Hope this help you somehow.