[TYPO3-german] Array mithilfe Index unter Fluid ausgeben

g4-lisz at tonarchiv.ch g4-lisz at tonarchiv.ch
Mon Mar 3 13:21:13 CET 2014


Ah ja, falscher Platzhalter angepasst. So jetzt geht es!

Also doch Idiot, zwiefacher.

On 03/03/2014 01:19 PM, g4-lisz at tonarchiv.ch wrote:
> Hmm, doch nicht Vollidiot...
>
> Geht auch mit {unread.19} nicht - in der Ausgabe steh immer noch "array"...
>
>
>
> On 03/03/2014 01:16 PM, g4-lisz at tonarchiv.ch wrote:
>> !!
>>
>> Ich Vollidiot! ;=)
>> Vielen Dank,
>> T
>>
>> On 03/03/2014 01:01 PM, Cedric Ziel wrote:
>>>  Hallo,
>>>
>>> auf Properties und Indizes kannst Du mittels "dot" Notation zugreifen:
>>>
>>> {unread.19}
>>>
>>> VG;
>>> Cedric
>>>
>>> Zitat von g4-lisz at tonarchiv.ch:
>>>
>>>> Hallo Liste,
>>>>
>>>> ich habe irgendwo gelesen, dass man unter Fluid z.B.  mittels {xyz:2}
>>>> den Wert mit Index=2 ausgeben kann, falls xyz ein Array ist.
>>>> Geht das erst ab einer bestimmten Version? Bei mir scheint es nämlich
>>>> nicht zu funktionieren, oder aber ich habe es falsch verstanden.
>>>>
>>>> In meine ActionController übergebe ich:
>>>> $this->view->assign('unread', array(19 => '1'));
>>>>
>>>> Wenn ich im Temlate {unread:19} ausgebe, erscheint einfach der String
>>>> "array".
>>>>
>>>> Was mache ich falsch?
>>>>
>>>> Beste Grüße,
>>>> Till
>>>>
>>>> _______________________________________________
>>>> TYPO3-german mailing list
>>>>
>>> TYPO3-german at lists.typo3.orghttp://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
>>>
>>> _______________________________________________
>>> TYPO3-german mailing list
>>> TYPO3-german at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
>> _______________________________________________
>> TYPO3-german mailing list
>> TYPO3-german at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german



More information about the TYPO3-german mailing list