[Typo3] Problem with conditions
Peter Klein
peter at umloud.dk
Mon Sep 26 18:54:08 CEST 2005
Hi Adam. I don't think you can use 2 "isFalse.field" in the same IF
statement. The 2nd will just replace the 1st one.
Instead try nesting it in a COA more, and then put 1 if on the COA and
another on the TEXT object.
---
Peter Klein /Umloud Untd.
"a.lim" <funkycms at axidea.fr> wrote in message
news:mailman.34.1127727305.11589.typo3-english at lists.netfielders.de...
> Hi y'all !!
>
> I got a big problem with my script. I got 2 content fields and 2 area for
> titles.
>
> In order to display my title or not, I'm checking the related content
> field.
>
> If there is no content, the title is hidden. In the case that both content
> fields are empty, both titles are hidden.
>
> So I can display a background in order to fill the area.
>
> This is my script:
>
> lib.back = COA
> lib.back {
> 10 = TEXT
> 10.value = <div style="background:
> url(fileadmin/templates/images/back2.gif)
> repeat top; width: 100%; height: 100%;"></div>
> 10.if {
> isFalse.field = field_biblio
> isFalse.field = field_plusloin
> }
>
More information about the TYPO3-english
mailing list