Answer the question
In order to leave comments, you need to log in
How to set a file template for Twig in Storm with parameters output?
A couple of questions about the storm:
1. Can I set a file template for Twig in the storm so that it immediately displays the parameters of this template in the comments?
Those. for example from this file I click Twig Create Template - post.html.twig
$html = $this->twig->render('/blog/post.html.twig', [
'id' => $id,
'post' => $posts[$id],
]);
Answer the question
In order to leave comments, you need to log in
While I'm waiting for an answer to question 1, I've already found a solution to question 2, maybe someone else will come in handy:
In the Project settings, set - Autoscroll from source
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question