Re: How To Add New Pages To PhpBB XS
Another question about new pages creation...
I make 3 new pages using the empty_page addon that
MG has inserted in 058 version. Now I would that this pages are inserted in viewonline.php when users are in them.
I have tried to do it in this way: for example I call the new page new.php.
I add this in
viewonline.php
- case PAGE_NEW:
- $location = $lang['new'];
- $location_url = "new.$phpEx";
- break;
-
this in
languages/lang_english/lang_main.php
- $lang['new'] = 'New Page';
-
and this in
includes/constants.php
- define('PAGE_NEW', -1975);
-
But it doesn't works and in viewonline.php when an user is in this page appear "Home Page" and not "New Page". Where I wrong? I have to add anything in new.php?