Skip to content
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

[DOCS] Sharpen docs for f:or #797

Merged
merged 1 commit into from
Jun 6, 2023

Conversation

kitzberger
Copy link
Contributor

@kitzberger kitzberger commented Jun 6, 2023

I was surprised that the ternary operator is working in fluid, so I thought I'd tweak the docs so everybody knows ;-)

  • Mention that f:or viewhelper checks for null and not for emptyness
  • Mention ternary operator as alternative

Fun (or rather annoying) fact: this information had already been part of the docs in the past: https://docs.typo3.org/m/typo3/guide-extbasefluid/8.7/en-us/Fluid/ViewHelper/Or.html

Related: #337, #389

@kitzberger kitzberger force-pushed the improve-docs-for-or-viewhelper branch from a34ba75 to c8c549e Compare June 6, 2023 12:13
* Mention that it checks for null and not for emptyness
* Mention ternary operator as alternative

Related: TYPO3#337, TYPO3#389
@kitzberger kitzberger force-pushed the improve-docs-for-or-viewhelper branch from c8c549e to c83dcee Compare June 6, 2023 12:19
@lolli42 lolli42 merged commit 9e9e63d into TYPO3:main Jun 6, 2023
@kitzberger kitzberger deleted the improve-docs-for-or-viewhelper branch June 6, 2023 12:39
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