Return to Snippet

Revision: 76888
at August 1, 2019 00:03 by xtine777


Updated Code
Aktuelle Seiten-ID in Fluid: {v:page.info(field: 'uid')}

<li class="{f:if(condition: '({v:page.info(field: "uid")} == 1) && ({item.data.uid} == 2)', then: 'active')} {f:if(condition: item.active, then:' active')} {f:if(condition: item.children, then:' dropdown dropdown-hover')}">

Revision: 76887
at July 31, 2019 23:17 by xtine777


Initial Code
{v:page.info(field: 'uid')}

Initial URL

                                

Initial Description
Funktioniert auch in Partials etc...
Z.B.: bootstrap_package/Resources/Private/Partials/Page/Navigation/Main.html

Initial Title
Aktuelle Seiten ID in Fluid Template auslesen

Initial Tags

                                

Initial Language
TYPO3