Frontend
Often we only want to display content for certain frontend user groups, for example, information for editors. Fluid already has a ready-made view helper for this purpose.
<f:security.ifHasRole role="Administrator">
<p>Information for admins: {adminInformation}</p>
</f:security.ifHasRole>
Tested with TYPO3 6.2.14, 7.4.0 & 8.7.4
Related posts
- 05.03.2021 Write your own ViewHelper
- 14.08.2019 Customize content elements in TYPO3
- 14.08.2019 Additional headers in fluid_styled_content
- 20.08.2021 TYPO3 ignores page type
- 17.02.2018 Create a backend module
Comments
No Comments