Open tacman opened 11 years ago
hi, I haven't used the bundle since a year up. I remember that filters did not work that way. for me it was a very simple helper to generate HTML emails.
With recent SF2/Twig you have the new function "template_from_string". There's a good chance that it supports filters. Maybe that's an option for you.
Sorry, but ATM I can't give you much more information on this as I'm out of SF development (just following the news).
Hope that you will find a way to work this out!
Is it possible to use custom filters with twigstring? If so, can you please update the documentation to reflect the configuration?
For example, I'd like to run {{ var|myTwigFilter(5) }} or {{ myTwigFunction(var, 3) }}.
Thanks, and thanks for this bundle, very useful!