What are the Slack Archives?

Itโ€™s a history of our time together in the Slack Community! Thereโ€™s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you wonโ€™t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hello guys few questions about twig implementation: 1. Is there a way to get logged customer in Tw

U02DBNVTTAS
U02DBNVTTAS Posts: 16 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

Hello guys

few questions about twig implementation:

  1. Is there a way to get logged customer in Twig template?
  2. Is there a way to set global env related twig variable? I need api key be used for service like GTM.
  3. If itโ€™s a better way to get Yves base url in twig than
{{ app.request.getSchemeAndHttpHost }}

Comments