[Typo3] isEmpty/isTrue in TS - easy for U =)

JoH info at cybercraft.de
Mon Nov 21 15:24:03 CET 2005


> What I have is:
>
> lib.link.10 = TEXT
> lib.link.10 {
>      value = LinkCaption
>      typolink {
>          parameter.dataWrap = {$uploadFolder}{page:ress1}
>      }
> }
>
> What I need now is if the {page:ress1} is empty it should do:
> lib.link.10 >
>
> I tried different types of if.isTrue/if.isFalse on dataWarap and
> parameter, but it did not work for me.

lib.link.10 = TEXT
lib.link.10 {
     value = LinkCaption
     if.isTrue.data = page:ress1
     typolink {
         parameter.dataWrap = {$uploadFolder}{page:ress1}
     }
}

Done.

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