The content on this page is no longer maintained and may be out of date.

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

Comments

No Comments

Write comment

* These fields are required