TypoScript: Get page typeNum

revision 0bba9dec4c0b76a9b19aee817d9bf0a9be36b3e6

raw

setup.typoscript

1
2
3
4
5
6
7
8
9
10
# only works on URLs with GET parameter ?type=2, not on /data.json PageTypeSuffix
page.10 = TEXT
page.10.data = GP:type
page.10.wrap = type value: |<br/>
 
# works on both URLs with GET parameter ?type=2 and on speaking URLs like /data.json PageTypeSuffix
page.11 = TEXT
page.11.data = TSFE:type
page.11.wrap = TSFE:type value: |
 

History