docs icon indicating copy to clipboard operation
docs copied to clipboard

Add a new Guide for using Twig

Open fkaminski opened this issue 4 years ago • 4 comments

A more detailed Guide using the Twig features with practical examples.

Please asign to myself

fkaminski avatar Dec 23 '21 08:12 fkaminski

Contributions for the manual should be Contao specific. Basic Twig support is covered in #914. This topic would be more general (Twig possibilities are documented).

Shall we therefore close this (Possibly something for a forum post).

fkaminski avatar Jan 26 '22 08:01 fkaminski

I am not sure what your plan was here. Generally Twig is already documented of course, so you just have to link to that documentation. You can of course still document some basics may be.

fritzmg avatar Jan 26 '22 08:01 fritzmg

I'm with @fritzmg on this one. Maybe a short teaser that shows some really nice features of Twig might be helpful for users that might think "why do I have to learn something new again" because the do not (yet) see the benefits.

fiedsch avatar Jan 26 '22 08:01 fiedsch

... because the do not (yet) see the benefits.

That was the idea. I'll think about what would be useful in this regard. Since I will try this for me anyway: A future pull request or draft, for the purpose of better assessment, can always be rejected later.

fkaminski avatar Jan 26 '22 08:01 fkaminski

Closed this because of PR #1176 (or https://docs.contao.org/dev/framework/templates/getting-started/)

fkaminski avatar Apr 09 '23 13:04 fkaminski