Typo3 fluid: Check if a page ID is active or visible

/ November 22, 2017/ Typo3

There is no direct way to this with fluid, but there is a workaround that we can use. We just need to try to make a URI with f:uri.page , this will return an empty string if the id is not active. In the Fluid World an empty string is “false”.


<f:if condition="{f:uri.page(pageUid: 115)}">
            The page with id 115 is visible.
        The page with id 115 is NOT visible. I will show something else.
Spread the love

Leave a Reply

Be the First to Comment!

Notify of