Typo3 Fluid (DCE) access to Cookies

456 views Asked by At

is it possible to access $_COOKIES in Fluid? We have a DCE-Element where I want to check if a cookie is set. I know that there are solutions in TypoScript and conditions, but I don't know how to access global typo3-vars via DCE.

I hope it exists a solution with raw fluid code...

1

There are 1 answers

1
Andre On

There is a Cookie Fluid ViewHelper. CookieViewHelper: https://fluidtypo3.org/viewhelpers/vhs/master/Once/CookieViewHelper.html