[TYPO3-UG Italy] Implementare Custom Conditions

Abramo Tesoro tesoro at archicoop.it
Thu Dec 14 16:04:42 CET 2017


Il 14/12/17 15:18, Andrea Nenci ha scritto:
> scherzavo.
>
> Ora anche gli utenti del gruppo interessato vedono template.html.
>
> questa è l'aggiunta fatta(con numeri reali):
>
> [page|uid = 119] && [usergroup = 11] && [usergroup !=80]
> ..
> [END]
>
>
> Mi ero scordato di dire la versione di typo usata, magari non esiste 
> l'operatore !=
>
> Uso Typo3 6.2.31

allora temo il tuo problema sia proprio la versione :(

questa è la documentazione:

https://docs.typo3.org/typo3cms/TyposcriptReference/Conditions/Reference/Index.html
Operator: 	Function:
[none] 	Requires an exact match with the value. Comparison with a list 
of values is possible as well. The condition then returns true, if the 
value is in the list. Values must then be separated by "|".
 > 	The hour must be greater than the value.
< 	The hour must be less than the value.
<= 	The hour must be less than or equal to the value.
=> 	The hour must be greater than or equal to the value.
!= 	The hour must be not equal to the value. Comparison with a list of 
values is possible as well. The condition then returns true, if the 
value is not in the list. Values must then be separated by "|".


https://docs.typo3.org/typo3cms/TyposcriptReference/6.2/Conditions/Reference/
Operator: 	Function:
[nothing] 	

The value must be part of the beginning of the version as a string. This 
means that if the version is "4.72" and the value is "4" or "4.7" it 
matches. But "4.73" does not match.

Example from syntax: "value1"

= 	The value must match exactly. Version "4.72" matches only with a 
value of "4.72"
 > 	The version must be greater than the value
< 	The version must be less than the value





More information about the TYPO3-UG-Italy mailing list