[Typo3-UG Oesterreich] Frage condition (dringend)

Georg Kuehnberger | plan2.net gk at plan2.net
Fri Dec 5 16:18:27 CET 2003


Folgende 2 Beispiele sollten Dir weiterhelfen:

1.)
------------------------------------
page.10 = COA
page.10 {
  10 = TEXT
  10.value = *No Content* available in this page/column.
  10.wrap = <b> | </b><br>
  10.if.isFalse.numRows < styles.content.get
  20 < styles.content.get
}


-- cut --

10 is created if there's NO content in "styles.content.get"
20 is created if there's content in "styles.content.get"

2.)
------------------------------------
subparts.PICTURE {
         allWrap = <td witdh="100%"> | </td>
         10 = LOAD_REGISTER
         15 < styles.content.getLeft
         20 = RESTORE_REGISTER
         #Only display this column if it is NOT empty
         if.isTrue.numRows < .15
}

lg G



At 13:11 05.12.2003, Kurt Dirnbauer | Web:Consulting wrote:
>typo3-at-bounces at lists.netfielders.de wrote:
> > hi leute,
> >
> > ich moechte den content aus der border-spalte nur anzeigen,
> > wenn es den content-border gibt.
> >
>
>das folgende funktioniert
>-------------------------
>page.95 = TEXT
>page.95.value (
>hello world.
>)
>page.95.wrap = blabla | blabla
>page.95.if.isTrue.numRows < styles.content.getBorder
>
>das untere funktioniert nicht. warum??
>---------------------------------------
>
>page.95 < styles.content.getBorder
>page.95.wrap = blalba |  blabal
>page.95.if.isTrue.numRows < styles.content.getBorder
>
>
>andere moeglichkeiten die condition abzufragen?
>geht das doch irgendwie?
>
>
>lgk
>
>
>
>_______________________________________________
>Typo3-at mailing list
>Typo3-at at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-at





More information about the TYPO3-at mailing list