[TYPO3-4-3] pageTS / userTS conditions
Tyler Kraft
tyler.kraft at netefficiency.co.uk
Wed Feb 10 12:28:31 CET 2010
Hi
> Hi,
>
> Martin Kutschker schrieb:
>>
>> [gobalVar:X = 10]
>>
>
> gotcha. This is not only the case for these conditions, as all are done
> the same
>
> [type = expression]
>
> Your suggestion also confuses when using
>
> [globalString:DB:pages|keywords = xyz]
>
> I don't have a problem with "=", expression can vary
> one value - compares with one value
> comma list - compares with values in commalist
> boolean expression - checks TRUE/FALSE of expression
>
> maybe this would make it more clear:
> [globalString = (DB:pages|keywords = xyz)]
Why not just drop the equals AND the colon completely?
[globalString DB:pages|keywords = xyz]
[gobalVar X = 10, X=17]
This would make it consistent with the other conditions like IP or
PIDinRootline and make it easier to read.
Tyler
More information about the TYPO3-project-4-3
mailing list