[TYPO3-english] Check for tt_content image type with numRows?

ktt kestutis98 at yahoo.com
Fri Jun 10 13:15:18 CEST 2011


Hello,

I'm able to check for content in the left column
and use default if there is none.

temp.MyContent = COA
temp.MyContent {
   10 = COA
   10 {
     if.isFalse.numRows < styles.content.getLeft
     10 = CONTENT
     10 {
         table = tt_content
          select.pidInList = 392
          select.where = colPos=1
      }
   }

    20 = COA
    20 {
      if.isTrue.numRows < styles.content.getLeft
      20 = CONTENT
      20 {
         table = tt_content
         select.pidInList = this
         select.where = colPos=1
      }
    }
}


But is it possible to check if the content in the Left column
is the image?

Thank you in advance,
Kast A.





More information about the TYPO3-english mailing list