Die Fehlermeldung in der Frontendausgabe ist mit dem Patch behoben (siehe mein 
vorhergehendes Posting). Das TYPO3 Standard Inhaltselment "Image" wird aber 
immer noch nicht ausgegeben.

Woher soll TYPO3 denn jetzt wissen, dass die Ausgabe aus dem Objeckt 
tt_content.image.default gerendert werden soll und nicht mehr aus 
tt_content.image???

Da muss ich doch sicher noch was tun! Aber was?   

Johannes.

> 
> ich möchte aufgrund der Layout-Auswahl im Inhaltselement die 
> HTML-Ausgabe ändern. Dafür habe ich dieses Typoscript (TYPO3 6.2.5):
> 
> # CASE Object um 'image'
> # Inhaltselement 'image' kopieren (sichern) temp.tt_content < 
> tt_content.image # 'image'-Element löschen tt_content.image > 
> # neu aufbauen als CASE-Objekt tt_content.image = CASE 
> tt_content.image {
>   # Layouts auswählen
>   # default = Standard 'image'-Objekt
>   # 1 - Bild-Text-Banner
>   key.field = layout
>   # Gesicherte Standard-Konfiguration zurück kopieren
>   default < temp.tt_content
>   # Bild-Text-Banner
>   1 < temp.tt_content
>   # Image Teaser
>   2 < temp.tt_content
> }
> 
> Die neu definierten Objekte sind "eigene Inhaltselemente" und 
> werden wie gewünscht ausgegeben. Bei einem Standard Image 
> Inhaltselement wird aber dieser Fehler ausgegeben:
> 
> #1: PHP Warning: array_replace_recursive() [<a 
> href='function.array-replace-recursive'>function.array-replace
> -recursive</a>]: Argument #1 is not an array in ...
> 
> Wo liegt mein Fehler? Ich vermute es liegt an "default < 
> temp.tt_content" !? Aber wie geht’s richtig?
> 
> Gruß, Johannes.
> 
> 
> 
> _______________________________________________
> 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

Antwort per Email an