Project

General

Profile

Actions

Feature #15119

closed

add class="csc-frame" to all content elements

Added by old_martinficzel about 19 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Should have
Category:
Content Rendering
Target version:
-
Start date:
2005-10-19
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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.

  1. TypoScript for the csc template ###
  1. 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>
  1. 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>
  1. 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)
Actions

Also available in: Atom PDF