Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 1604

phpBB Custom Coding • Re: Best way to include vars?

$
0
0
You need to change this line of code

Code:

$user->setup('viewforum');
Change viewforum to your language file name. It will call your language file and render the variables you need.

Also: Twig template syntax for Lang variables would be {{ lang('some_var') }}

Also take a look at this for creating pages with in side phpBB ROOT

https://www.phpbb.com/customise/db/offi ... _skeleton/

Statistics: Posted by Steve — Mon Mar 31, 2025 9:27 am



Viewing all articles
Browse latest Browse all 1604

Trending Articles