Umstellung von css_styled_content auf fluid styled content
Contentelemente vom Typ Text/Media
- css_styled_content deinstallieren
- fluid_styled_content aktivieren
- im Installations-Tool den Upgrade Wizard starten und die Migration von Inhaltselementen mit Typ textpic, image und text nach textmedia durchführen
- Erweiterungstemplate für fluid_styled_content einbinden
Typoscript Image-Rendering
temp.contentImage = CONTENT
temp.contentImage {
table = tt_content
select {
where = colPos = 3
orderBy = sorting
max=1
}
renderObj = COA
renderObj{
10 = FILES
10 {
references {
table = tt_content
uid.data = uid
fieldName = assets
### das ist anders, vorher war das Feld: image!!!!
}
renderObj = COA
renderObj {
10 = IMG_RESOURCE
10 {
file {
treatIdAsReference = 1
import.data = file:current:publicUrl
}
}
}
}
}
}