[TYPO3-english] Get page id and decrease with 1
Radoslav Kolarov
radoslav.kolarov at osceola.de
Fri Apr 10 13:20:05 CEST 2009
Hi All,
I want to get page ID with typoscript and decrease the number with one.
I get the ID with this code:
temp.value.field = uid
and set prioriCalc to 1
temp.value.prioriCalc = 1
But how to decrease the number? I try some solutions for example:
temp.value = {field:uid} - 1
but it recognize {field:uid} as 0 and the result is -1 :(
Thanks in advance
More information about the TYPO3-english
mailing list