-
Hello all, This is a bit of a rogue situation. But i'd like to make a POST request to twill, which then renders a view of a specific module depending on the post data. I would also like to be able to pass request data from the post request and insert it into the template for the view. i.e api.php:
POST request:QuestionApiController:
reportTemplate.blade.php:
at this point in reportTemplate.blade.php I have access to $name, however once i go into the blocks, i no longer have access to $name. I wish I could do something like: is there any hope for me? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello, I solved my own problem: you can pass extra data to renderBlocks but its the 2nd parameter:
then in the block template you can echo $name |
Beta Was this translation helpful? Give feedback.
Hello,
I solved my own problem:
you can pass extra data to renderBlocks but its the 2nd parameter:
then in the block template you can echo $name