okay, ich hab mal kurz darüber nachgedacht :P
hier die Lösung:

Man muss erst via CONTENT den Bereich definieren und dann via RECORDS und conf. die Daten neu auslesen und neu aufbauen.



tt_content.menu.20.10 >
tt_content.menu.20.10 = COA
tt_content.menu.20.10 {
  # Content Elemente
  wrap = <div class="wrap">|</div>
  10 = CONTENT
  10 {

    table = tt_content
    select {
      orderBy = sorting
      where = colPos = 3
      languageField = sys_language_uid
    }

    renderObj >
    renderObj < tt_content
    renderObj.stdWrap >
    renderObj = COA
    renderObj {

      5 = RECORDS
      5 {
        tables = tt_content
        source.field = records
        #source = 83

        conf >
        conf.tt_content = COA
        conf.tt_content {

          #wraps um text
          20 = COA
          20 {
            stdWrap.required = 1
            wrap = <div class="c{field:uid}">|</div>
            wrap.insertData = 1

            #IMAGE
            5 = FILES
            5 {

              references {
                table = tt_content
                uid.field = uid
                fieldName = image
              }

              renderObj = IMAGE
              renderObj {
                wrap = <div class="wrap">|</div>
                file {
                  treatIdAsReference = 1
                  #width = 470c
                  #height = 290c
                  #maxW = 470c
                  maxH = 290c
                  import.data = file:current:publicUrl
                }

                altText.field = title
                titleText.field = title
                imageLinkWrap = 1
                imageLinkWrap {
                  enable = 1
                  typolink {
                    target = _self
                    parameter.field = header_link
                    ATagParams = class="more"
                    title.cObject=TEXT
                    title.cObject.field = nav_title // subtitle // title
                  }
                }


                params = class="img-responsive"
                altText.data = file:current:title
                emptyTitleHandling = useAlt
                layoutKey = srcset
                layout {
                  default {
element = <img src="###SRC###" ###PARAMS### ###ALTPARAMS### ###BORDER### ###SELFCLOSINGTAGSLASH###>
                    source =
                  }
                  srcset {
element = <img src="###SRC###" srcset="###SOURCECOLLECTION###" ###PARAMS### ###ALTPARAMS### ###SELFCLOSINGTAGSLASH###> source = |*|###SRC### ###SRCSETCANDIDATE###,|*|###SRC### ###SRCSETCANDIDATE###
                  }
                }



                sourceCollection {
                  small {
                    width = 200
                    srcsetCandidate = 600w
                    mediaQuery = (max-device-width: 600px)
                    dataKey = small
                  }
                  smallRetina {
                    if.directReturn = 1
                    width = 200
                    pixelDensity = 2
                    srcsetCandidate = 600w 2x
mediaQuery = (max-device-width: 600px) AND (min-resolution: 192dpi)
                    dataKey = smallRetina
                  }
                }
              }


            }
            #END IMAGE

            # TEXT
            10 = COA
            10 {
              wrap = <div class="wrap">|</div>

              #header
              5 = TEXT
              5 {
                field = header
                wrap = <h2>|</h2>
                required = 1
                typolink.parameter.field = header_link
              }

            }

          }
        }
      }
    }
  }
}



------------------------------------------

TYPO3 - TIPPS - ANLEITUNGEN - NEWS
unter: http://blog.ingeniumdesign.de/

TYPO3 Webdesign Agentur Wiesbaden - Frankfurt
unter: http://www.ingeniumdesign.de/

Facebook Fan
http://www.facebook.com/ingeniumdesign/

------------------------------------------

Am 13.05.2014 14:52, schrieb Sebastian Schmal:
Hallo Liste,

stehe gerade aufm Schlauch.
Also wie ich z.b. von einer Seite die komplette Spalte "left" auslese,
weiß ich ;)

SO:

tt_content.menu.20.8 >
tt_content.menu.20.8 = COA
tt_content.menu.20.8 {
   # Content Elemente
   wrap = <div class="wrap">|</div>
   10 = CONTENT
   10 {

     table = tt_content
     select {
       orderBy = sorting
       where = colPos = 1
       languageField = sys_language_uid
     }

     renderObj >
     renderObj < tt_content
     renderObj.stdWrap >
     renderObj = COA
     renderObj {
       #wraps um text
       20 = COA
       20 {
         stdWrap.required = 1
         wrap = <div class="wrap2">|</div>

         #IMAGE
         5 = FILES
         5 {

           references {
             table = tt_content
             fieldName = image
           }

           renderObj = IMAGE
           renderObj {
             wrap = <div class="wine-item-image-wrap">|</div>
             file {
               treatIdAsReference = 1
               #width = 250c
               height = 540c
               #maxW = 250c
               maxH = 540c
               import.data = file:current:publicUrl
             }
             params = class="img-responsive"
             altText.data = file:current:title
             emptyTitleHandling = useAlt
             layoutKey = default
           }


         }
         #END IMAGE

         # TEXT
         10 = COA
         10 {
           wrap = <div class="wrap3">|</div>

           #header
           5 = TEXT
           5 {
             field = header
             wrap = <h2>|</h2>
             required = 1
             #typolink.parameter.field = header_link
           }

           10 = TEXT
           10 {
             field = bodytext
             required = 1
             parseFunc = < lib.parseFunc_RTE
           }

         }

       }
     }
   }
}



Nun würde ich gerne in einen "Insert Records" bzw. "Datensatz einfügen"
ein paar Datensätze einfügen und diese dann auslesen.

Wie geht das? :)
habe bissel gegoogelt und denke das ich hier RECORDS verwenden muss.

Freue mich auf Antworten.

Vielen Dank,
Basti




_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an