[TYPO3] if-conditions / override
PEF
xx at xx.xx
Thu Jul 13 09:29:07 CEST 2006
Sorry - but it isn't working as intended. If I create an instance i.e.;
page.5 = TEXT
page.5.field = nav_title // title
.... it displays nicely. But when used in GIFBUILDER it fails:
20 = TEXT
20 {
text.field = nav_title // title
# or
field = nav_title // title
# or
text = {page:nav_title} // {page:title}
}
All the above examples fails. The first two makes empty outputs the last
one concats the three parts: Concept // Company concept
Regards
Peter
JoH wrote:
>>I'm having some problems with an if-condition. I've tried several
>>solutions without any succes.In short I want to create a tag
>>containing an image and a text. If not the 'nav_title' is empty - use
>>it. Else use the 'title'.
>
>
>
> 20 = TEXT
> 20.text.field = nav_title // title
>
> Done ;-)
>
> Joey
>
> PS: Just to avoid confusion for others - this is inside a GIFBUILDER object
> else it would have been
> 20.field = nav_title // title
>
More information about the TYPO3-english
mailing list