Skip to content

[BUGFIX] Provide variables to main section#97

Merged
linawolf merged 1 commit into
TYPO3-Documentation:mainfrom
s2b:templateAdjustments
May 12, 2026
Merged

[BUGFIX] Provide variables to main section#97
linawolf merged 1 commit into
TYPO3-Documentation:mainfrom
s2b:templateAdjustments

Conversation

@s2b
Copy link
Copy Markdown
Contributor

@s2b s2b commented May 6, 2026

Even though this currently works because of a Fluid bug, it is best practice to provide the variables to sections since they (usually) have their own variable scope.

See: TYPO3/Fluid#1356

@s2b s2b force-pushed the templateAdjustments branch from d06acec to a69a8de Compare May 6, 2026 10:29
Even though this currently works because of a Fluid bug, it is best
practice to provide the variables to sections since they (usually)
have their own variable scope.

See: TYPO3/Fluid#1356
@s2b s2b force-pushed the templateAdjustments branch from a69a8de to c605dbf Compare May 6, 2026 10:31
@linawolf linawolf merged commit 02df757 into TYPO3-Documentation:main May 12, 2026
@linawolf
Copy link
Copy Markdown
Member

Oh interesting, didnt know that! I think the phpstorm Fluid plugin even ommits the arguments for sections?

@s2b
Copy link
Copy Markdown
Contributor Author

s2b commented May 12, 2026

I need to look into it. But I think it makes sense that sections have their own variable scope, even if that's currently not the case. :-/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants