-
Notifications
You must be signed in to change notification settings - Fork 93
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
Bug: Nested switch viewhelper seems not working (in some cases) #428
Comments
I just tried different nested |
I made a Textmedia Template, that looks like this:
Some of these generates calls the "Header/All.html", but some not. Every Texemedia Partial that calls a header Element will not be rendered. I created a customized Partial Header.html, but it look mostly the same, I just added 3 cases:
That's what can I say for now. |
I can reproduce this error. My working example is in the attached ZIP. Run testfluid.zip [The folder I think the problem is somewhere in the recursion of the Header partial in the |
Hi everybody! |
Could this be the same problem? |
I created a cutom template for textmedia with a switch statement to load certain partials depending on layout.
At first I used the if viewhelper and everything worked fine. After I replaced the if viewhelper with the swich viewhelper, certain textmedias didn't load any more. After some research I found out that the header partial has to be the reason more concrete the switch statement inside header.
The text was updated successfully, but these errors were encountered: