1.

What Is If Function?

Answer»

TypoScript “if” FUNCTION does not work like the “if” construct known from most PROGRAMMING language.

Generally the if function returns true, if all conditions are fulfilled. This resembles a boolean AND COMBINATION. If what we WOULD like returned is a false VALUE, we can use the :code`negate` option to negate the result.

With the use of if it is also possible to compare values. For this purpose we use value property.

TypoScript “if” function does not work like the “if” construct known from most programming language.

Generally the if function returns true, if all conditions are fulfilled. This resembles a boolean AND combination. If what we would like returned is a false value, we can use the :code`negate` option to negate the result.

With the use of if it is also possible to compare values. For this purpose we use value property.



Discussion

No Comment Found