Am 12.8.2014 18:02, schrieb Pro okie: > Hallo! > > Ich baue zum allerersten Mal eine Webseite mit TYPO3, Version 6.2. Nun > bin ich jetzt aber auf ein Problem getroffen, was mich seit 3 Stunden > beschäftigt. Ich möchte in meiner Sidebar ein paar "Text mit Bild" > Element ausgeben, und diese komplett selbst stylen per Typoscript, > also eigenes Markup ausgeben. Title und Bodytext sind kein Problem, > aber wie komme ich an das Bild/die Bilder des Content Elements? Insb. > an ihre URLs, die benötige ich nämlich. > > Mein Ausgabe Typoscript Code: (finde keine BBCode "Code-Box") > > ---------- > > lib.contentLinks = CONTENT > lib.contentLinks { > table = tt_content > select.orderBy = sorting > select.where = colPos = 3 > > renderObj = COA > renderObj { > 10 = TEXT > 10 { > field = image > //value < image.imgPath > wrap = img src: | > } > 20 = TEXT > 20 { > field = header > wrap = <h3>|</h3> > } > 30 = TEXT > 30 { > field = bodytext > wrap = <p>|</p> > # parse links (and etc.) > parseFunc < lib.parseFunc > } > } > } > > ---------- > > Ich weiß nicht, was ich bei renderObj.10 machen soll. So wie es > momentan in meinem Code steht, funktioniert es auf jeden Fall nicht... > > Vielen Dank für eure Hilfe schoneinmal! > _______________________________________________ > TYPO3-german mailing list > TYPO3-german@lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
Hilft dir vielleicht Folgendes? http://docs.typo3.org/typo3cms/TyposcriptReference/ContentObjects/Files/Index.html oder http://lists.typo3.org/pipermail/typo3-german/2013-June/093100.html -- Dr. Dieter Porth http://www.mobger.de/ _______________________________________________ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german