Last active
October 31, 2019 21:39
-
-
Save ABooooo/7c17f949e60ae9b528ce35c490f82c69 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add to lib file (example ab-design.at) | |
lib.currentPageId = TEXT | |
lib.currentPageId.data = TSFE:id | |
<f:if condition="{f:cObject(typoscriptObjectPath:'lib.currentPageId')} == 55"> | |
<f:then> | |
// something | |
</f:then> <f:else> | |
// something | |
</f:else> | |
</f:if> | |
https://stackoverflow.com/questions/40088721/check-if-pid-of-current-page-is-x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment