Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternatives to inserttags for use in templates PHP/Twig #931

Open
fkaminski opened this issue Jan 15, 2022 · 4 comments
Open

Alternatives to inserttags for use in templates PHP/Twig #931

fkaminski opened this issue Jan 15, 2022 · 4 comments

Comments

@fkaminski
Copy link
Contributor

As mentioned in the forum post, a list of alternatives regarding the use of Insert-Tags in templates might be helpful.

@fkaminski
Copy link
Contributor Author

Maybe (in connection with 4.13) additionally with corresponding Twig hints.
See: https://community.contao.org/de/showthread.php?82293-Insert-Tags-in-Template-nicht-verwenden-Alternative&p=553668&viewfull=1#post553668

@fkaminski fkaminski changed the title Alternatives to inserttags for use in templates Alternatives to inserttags for use in templates PHP/Twig Jan 22, 2022
@fkaminski
Copy link
Contributor Author

fkaminski commented Jan 22, 2022

Possibly also with further, useful examples regarding the available app variable ...

@fritzmg
Copy link
Contributor

fritzmg commented Jan 22, 2022

Possibly also with further, useful examples regarding the available app variable ...

That's documented here, so we just need to link there: https://symfony.com/doc/current/templates.html#the-app-global-variable

@fkaminski
Copy link
Contributor Author

That's documented here, so we just need to link there: https://symfony.com/doc/current/templates.html#the-app-global-variable

Good to know :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants