Basically so that the phpBB team do not have to maintain the templating framework and can concentrate on working on the core.
Have a read as to why.
The latest commit on master adds this feature. Could you test it when you have a moment?MarkDHamill wrote: ↑Fri Dec 15, 2017 12:47 pm The messenger class uses template tags that go in the/language/en/email
folder, so extensions that do emailing like mine must create them in our extensions. In 3.0 it was not as sophisticated as the full templating system. You could not use loops, for example. Perhaps this is no longer the case.
It wasn't a big deal to convert my language files so I did it manually, but you might want to add it to the files to convert.
Code: Select all
Fatal error: Uncaught Error: Class 'ZipArchive' not found in /var/www/vhosts/phpbb3bbcodes.com/httpdocs/ext/kasimi/twigconverter/controller/main.php:276 Stack trace: #0 /var/www/vhosts/phpbb3bbcodes.com/httpdocs/ext/kasimi/twigconverter/controller/main.php(240): kasimi\twigconverter\controller\main->make_zip('./../store/', 'prosilver_twig_...', Array) #1 /var/www/vhosts/phpbb3bbcodes.com/httpdocs/ext/kasimi/twigconverter/controller/main.php(120): kasimi\twigconverter\controller\main->run('prosilver', Array) #2 /var/www/vhosts/phpbb3bbcodes.com/httpdocs/ext/kasimi/twigconverter/acp/main_module.php(28): kasimi\twigconverter\controller\main->convert('./../adm/index....') #3 /var/www/vhosts/phpbb3bbcodes.com/httpdocs/includes/functions_module.php(676): kasimi\twigconverter\acp\main_module->main('\\kasimi\\twigcon...', 'convert') #4 /var/www/vhosts/phpbb3bbcodes.com/httpdocs/adm/index.php(82): p_master->load_active() #5 {main} thrown in /var/www/vhosts/phpbb3bbcodes.com/httpdocs/ext/kasimi/twigconverter/controller/main.php on line 276
Thanks, found it and installed it. Now it workskasimi wrote: ↑Sat Jan 20, 2018 3:57 pm Your PHP installation is missing the ZIP extension: https://stackoverflow.com/questions/387 ... t-found-in
ext.php
that checks for this: https://github.com/kasimi/phpbb-ext-twi ... 79d338fd10Unless there is something in an extension that does not convert then you may not know which extension is causing the problem - also I am not sure what happens if an extension is already in Twig when you try to convert.
In this case all files in the zip file are identical to the existing ones.
Code: Select all
$this->run('all', call_user_func_array('array_merge', array_merge(
array_map([$this, 'get_extension_template_files'], $available_extensions),
array_map([$this, 'get_style_template_files'], $available_styles)
)));