Page 5 of 5

Re: [3.1][3.2][RC] Twig Converter

Posted: Wed Mar 07, 2018 9:29 pm
by mrgoldy
Out of curiosity;
Is it possible to run a vanilla prosilver through this converter and receive a working style? Or are there any files that will need adjusting afterwards? Have you (or anyone else for that matter) tried that already?

Re: [3.1][3.2][RC] Twig Converter

Posted: Wed Mar 07, 2018 9:40 pm
by kasimi
David had this idea and the feature was added to version 1.1.0. phpBB converts all template files to Twig before caching them anyway, so converting prosilver shouldn't be necessary. That feature is mainly geared towards style authors.

Re: [3.1][3.2][RC] Twig Converter

Posted: Wed Mar 07, 2018 10:09 pm
by mrgoldy
Currently on my phone and I hate the search on it, my bad :flushed:

And I am writing a style based on prosilver for personal use and due to extension writing I am now more used to the twig syntax than phpbb's.

Anyway, thanks for the quick response.

Re: [3.1][3.2][RC] Twig Converter

Posted: Mon Jun 03, 2019 4:43 pm
by Galixte de EzCom
Hi kasimi,
kasimi wrote:
Wed Mar 07, 2018 9:40 pm
oxpus wrote:
Mon Jun 03, 2019 6:23 pm
Colons are missing by twig style convertor extension
Source: https://github.com/oxpus/Download-32-Ex ... -498327691.

Is it possible to add this feature?

Regards.

Re: [3.1][3.2][RC] Twig Converter

Posted: Mon Jun 03, 2019 5:52 pm
by 3Di
Colons aren't missing if not hard-coded.

Example of old syntax: {L_CONTACT}{L_COLON}

Not {L_CONTACT}: