vojtasvoboda / oc-twigextensions-plugin

Twig extensions plugin for OctoberCMS
MIT License
18 stars 26 forks source link

Make the plugin work with October 3.x on PHP 8 #69

Closed maki3000 closed 2 years ago

maki3000 commented 2 years ago

This version of the plugin works with October 3.x on PHP 8. Although some filters aren't working anymore. Sorry, I didn't had the time to fix everything.

Not working filters:

vojtasvoboda commented 2 years ago

Hello @maki3000 new version of Twig Extensions plugin is available and works with PHP 8 and October CMS 3.1.

Function template_from_string is still there and I also added a lot of other filters and functions: country_timezones, country_name, currency_name, currency_symbol, language_name, locale_name, timezone_name, format_currency, formatnumber and format*_number, format_datetime, format_date and format_time.