Supi dank klappt. aber warum kann ich nicht auf den index zugreifen? ist auch überall so erklärt.
> Am 31.01.2015 um 18:29 schrieb carsten falkenberg <codefres...@gmail.com>: > > Hallo Andre, > > in dem Fall würde ich evtl. mit einem Iterator arbeiten, z. B. > > <f:for each="{projekt.projektbild->dce:explode()}" as="projektbild" > iterator="i"> > <f:if condition="{i.cycle}==1"> > {projektbild} > </f:if> > > usw. > > Siehe auch hier: > http://docs.typo3.org/typo3cms/ExtbaseGuide/Fluid/ViewHelper/For.html > > Viele Grüße > Carsten > > Am 31. Januar 2015 um 18:07 schrieb Andre Sancken <evilknevi...@gmx.de>: > >> Hi, >> >> super danke. Aber wie komme ich jetzt an die einzelnen Elemente: >> Habs so: >> >> >> <f:for each="{projekt.projektbild->dce:explode()}" as="projektbild"> >> {projektbild} >> </f:for> >> >> So werden mir jetzt alle ausgegeben. Jetzt möchte ich an einer Stelle aber >> immer nur das erste Bild ausgeben. Wenn ich es so probiere: >> {projektbild.0} wird nichts ausgegeben. >> >> Andre >> >> >>> Am 31.01.2015 um 16:44 schrieb David Greiner <davidgrei...@gmx.net>: >>> >>> Versuchs doch mal mit >>> <f:for each="{projekt.projektbild->dce:explode()}" as="projektbild"> >>> >>> Gruß >>> >>> David Greiner >>> ----------------------------------------- >>> TYPO3-Freelancer >>> Certified TYPO3 Integrator >>> ha...@davidgreiner.de >>> www.davidgreiner.deAm 31.01.2015 15:47 schrieb Andre Sancken : > > Ich >> bin jetzt einen schritt weiter. habe jetzt mein string an den viewhelper >> übergeben. > > {projekt.projektbild} > > jetzt wird mir natürlich immer >> array ausgegeben. wie komme ich jetzt an die einzelnen arrays und ihre >> bestandteile? klar mit dem viewhelper for:each. aber welchen namen übergebe >> ich der schleife? > _______________________________________________ > >> TYPO3-german mailing list > TYPO3-german@lists.typo3.org > >> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german >>> _______________________________________________ >>> TYPO3-german mailing list >>> TYPO3-german@lists.typo3.org >>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german >> >> _______________________________________________ >> TYPO3-german mailing list >> TYPO3-german@lists.typo3.org >> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german >> > _______________________________________________ > TYPO3-german mailing list > TYPO3-german@lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german _______________________________________________ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german