Feature #15119
closedadd class="csc-frame" to all content elements
0%
Description
For the different settings of the tt_content.section_frame field ( Content Frame in BE ) are div tags rendered like this one "<div class="csc-frame csc-frame-invisible">|</div>"
Tthis is done using a case Object at "tt_content.stdWrap.innerWrap.cObject" but the case object does not have a default behavior.
I think that writing the <div class="csc-frame">|</div>" tag for all content elements would be a good solution.
Although i know that users can change therse setting manual i think that this behavior shoud become the default.
- TypoScript for the csc template ###
- add csc-frame class to all content elements
tt_content.stdWrap.innerWrap.cObject.default = TEXT
tt_content.stdWrap.innerWrap.cObject.default .value = <div class="csc-frame">|</div>
- modify rulerBefore
tt_content.stdWrap.innerWrap.cObject.5 = TEXT
tt_content.stdWrap.innerWrap.cObject.5.value=<div class="csc-frame"><div class="csc-frame-rulerBefore"></div>|</div>
- modify rulerAfter
tt_content.stdWrap.innerWrap.cObject.6 = TEXT
tt_content.stdWrap.innerWrap.cObject.6.value=<div class="csc-frame">|<div class="csc-frame-rulerAfter"></div></div>
(issue imported from #M1683)
Updated by Peter Niederlag about 19 years ago
I like to see this to and try to take care of it. Can't assign it to me right now due to lacking permissions
Updated by Peter Niederlag almost 19 years ago
Majority on content-rendering list has refused this so it wont fix. sorry for that. ;(
Of coure you are very welcome to supply a modified version of the static default template and we can discuss about including two different alternatives again.