Reputation: 189
I tried to remove the wrapping div for the CType shortcut as follows:
tt_content.shortcut.prefixComment >
tt_content.stdWrap.innerWrap.override = |
tt_content.stdWrap.innerWrap.override.if {
equals = shortcut
value.field = CType
}
But it doesn't work, there's still a wrapping div around the content.
Upvotes: 0
Views: 331
Reputation: 81
This will only work when you're using css_styled_content. Starting with version 7 (or 8?) TYPO3 uses fluid_styled_content as the default. Much nicer but very different. To change the rendering of CType 'shortcut' you can now override the default fluid template for this type.
Upvotes: 2