M. Vondano

Results 55 issues of M. Vondano

I would like to pitch a concept for Twig filters, that would allow keeping content, that was once identified as safe/unsafe, separated until the very end. ## The problem Filters...

### Affected version(s) 4.13, 5.3 ### Description Consider the following code: ```php $figure = $this->previewFactory ->createPreviewFigureBuilder($path, '_preview') ->buildIfResourceExists() ; ``` If `path` does not point to a valid resource (anymore),...

bug
unconfirmed

This introduces a `_rich_text` component as outlined in #6783. This way you do not have to repeat yourself with things like this but can change it at one place: ```twig...

feature

This is the first attempt to add Turbo in the backend. This does not yet enable frames or uses streams at any place but enables drive by default. We will...

feature

### Affected version(s) 5.3 ### Description Currently, there are two issues when redeclaring a content element/frontend module type. If you want to replace the `text` content element, you could for...

bug

### Affected version(s) 5.x ### Description As of https://github.com/twigphp/Twig/pull/3883/files the original escaper filter methods were moved into static functions (targeted for Twig 3.9). They are now marked as internal but...

bug

This introduces a new concept to our Twig ecosystem called `slots`. It basically allows to define placeholder sections in your templates which can be enumerated and populated at runtime. For...

feature

Fixes #5826 With #6936 we now could store relative instead of absolute paths in our filesystem loader. But https://github.com/twigphp/Twig/issues/3218 must probably be addressed as well to make an effect. /cc...

bug

Next attempt after #3852. This one takes 'modules' into accout, i.e. each traversed template, no matter if called directly via `Environment#render()` or if it was embedded/included. The PR introduces two...

feature

We need to adjust the Twig code examples regarding the [set and merge pattern](https://docs.contao.org/dev/framework/templates/creating-templates/#html-attributes) to reflect the changes made in https://github.com/contao/contao/pull/6956#event-12012400559. Basically `attrs(foo).` → `attrs()..mergeWith(foo)` .

Developer Documentation