kostmann
(Mark Kostmann)
November 3, 2022, 5:47pm
1
I have included a link on my site and would like to use it to call up another page. The other side is also called and works quite well so far.
BUT
If I have a variable with:
$this->view->assign(‘test’, “Mark”);
wants to transfer, this variable has no value in the called page.
My action:
public function newAction()
{
$this->view->assign('test', "Mark");
}
In the HTML template:
<div class="panel-body">
{test}
</div>
Test returns no value. What do I have to do so that I can also read my variable in the called page?
Many Thanks
LG Mark
kostmann
(Mark Kostmann)
November 3, 2022, 5:57pm
2
Everything ok, I found the solution!!! I actually had a CSS class that was visible=hidden
1 Like
Marc
(Marc Henry Schultz)
November 3, 2022, 6:02pm
3
yes - always check the dom or better the html source
kostmann
(Mark Kostmann)
November 3, 2022, 6:04pm
4
Yes, you say something! But that sometimes gets lost when I’m engrossed in the new flow code
bwaidelich
(Bastian Waidelich)
November 4, 2022, 8:30am
5
FYI: The category “Creating Neos & Flow ” is meant for core development. I moved your topic to “Using Neos & Flow”. This also allows you to mark the issue resolved (I did this for you in this case)