[Typo3] condition for swords

JoH info at cybercraft.de
Mon Jul 4 00:31:36 CEST 2005


> [globalVar = GP:tx_ttnews|swords > 0]
> works fine as long as swords contains an integer value. But what do I
> have to use if I`d like to check if swords contains a letter or
> string - in other words: is not empty?
>
> if.isTrue.data = GPvar:tx_ttnews|swords is no solution in this case as
> I`d like to switch config.no_cache.
>
> Any ideas?

Try this one:

[globalString = GP:tx_ttnews|swords = *]

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.openbc.com/go/invuid/Jo_Hasenau





More information about the TYPO3-english mailing list