[TYPO3-german] How can I test, if a CONTENT Object is not empty?

alexander.friesen at googlemail.com alexander.friesen at googlemail.com
Sat Aug 20 21:17:23 CEST 2011


I create a CONTENT object in a following way,

   MIDCONTENT = CONTENT
   MIDCONTENT{
       table = tt_content
       select.orderBy = sorting
       select.where = colPos = 0
   }

further i have a TEXT Object, which should get the value test, if MIDCONTENT
is not empty

   BOTTOMONTENT= TEXT
   BOTTOMONTENT{
       value=test
       if{
          //check here
         }
   }

How can i check, if MIDCONTENT, which is a CONTENT object, is not empty?
Thnx.


More information about the TYPO3-german mailing list