TYPO3 v8 has reached its end-of-life March 31st, 2020 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.

You can order Extended Long Term Support (ELTS) here: TYPO3 ELTS.


Calculating values (+calc)

Sometimes a data type is set to someType +calc. The +calc indicates that the value is calculated with +-/\* operators. Be aware that the operators have no "weight". The calculation is just done from left to right.

How value is calculated

45 + 34 * 2 = 158
(which is the same as this in ordinary arithmetic: (45+34)*2=158)

calc usage example

The HMENU maxAge property is of a type integer +calc, it's value in this example equals to 259200.

20 = HMENU
20.special = updated
20.special.value = 35, 56
20.special {
  mode = tstamp
  depth = 2
  maxAge = 3600*24*3
  limit = 8