Zum Inhalt springen

Wrap um Content-Element "textpic" lassen sich nicht entfernen:

Erstellt am 22. November 2016 · Noch keine Antworten

Tags: Inhaltselemente, Bilder, TYPO3 7, Frage

moran284 ·

Hallo zusammen,

ich möchte das Inhaltselement "textpic" neu wrappen bzw. einige Wraps entfernen. Leider funktioniert es nicht. Hier mein TypoScript:

page.10.subparts {
SHORTCUTS = CONTENT
      SHORTCUTS {
        wrap = <section id="shortcuts"><div class="container"><div class="row row-height">|</div></div></section>
        table = tt_content
        select {
          pidInList = 5
          where = colPos = 3
        }
                
        renderObj < tt_content
        renderObj {
          
          textpic.10.10.stdWrap.dataWrap = |
          textpic.20.imageColumnStdWrap.dataWrap = |
          textpic.20.imageStdWrapNoWidth = |
          textpic.20.imageStdWrap.dataWrap = |
          textpic.20.1.wrap = |
          
          stdWrap {
            wrap = <div class="col-md-4"><a class="shortcuts-item">|</a></div>
            innerWrap >
          }
        }       
        
      }
}

Mit "image" funktioniert es, aber sobald ich auf ein "textpic"-Inhaltselement anlege wid es nicht verändert. Woran kann das liegen?

Vielen Dank schon einmal!

Liebe Grüße