[TYPO3-german] Content Element space after/before content funktioniert nicht mehr
Stefan Padberg
post at bergische-webschmiede.de
Fri Mar 23 15:14:51 CET 2018
Hallo Artur,
in TYPO3 7.6 gibt es diese section_frames nicht mehr. Man muss das
selber nachrüsten.
Beste Grüße
Stefan
Am 23.03.2018 um 14:38 schrieb Artur Grigoryan:
> Hallo, seit dem Update von Typo3 6.2 nach 7.6 funktioniert das margin
> top/ margin bottom nicht mehr.
>
> Wenn ich folgenden Inhalt lösche funktioniert es wieder:
>
> #**********************************
> # tt_content is started
> #**********************************
>
>
> tt_content.stdWrap >
> tt_content.stdWrap {
> innerWrap.cObject = COA
>
> innerWrap.cObject {
> 1 = LOAD_REGISTER
> 1.outputreg.cObject = CASE
> 1.outputreg.cObject {
> key.field = CType
> default = TEXT
> default.value = dowrap
> list < .default
> list.value = nowrap
> html < .default
> html.value = nowrap
> }
>
> 10 = TEXT
> 10 {
> cObject = CASE
> cObject {
> key.field = CType
>
> default = TEXT
> default {
> value = <div id="c{field:uid}"
> data-type="{field:CType}"
> }
>
> cmagcontentelements_navigationseparator = TEXT
> cmagcontentelements_navigationseparator.value = <div
> data-type="{field:CType}"
>
> div = TEXT
> div {
> value = <div
> }
>
> menu < .default
> menu {
> override = <nav id="c{field:uid}"
> override {
> if {
> value = html5
> equals.data = TSFE:config|config|doctype
> }
> }
> }
> }
> insertData = 1
> }
> 20 = COA
> 20 {
> #layout
> 10 = CASE
> 10 {
> key.field = layout
> default = TEXT
> #default.field = layout
> default {
> value = csc-layout-default
> }
> 200 < .default
> 200.value = row bg-blue
> 400 < .default
> 400.value = row bg-gray
> 500 < .default
> 500.value = row bg-gray-light
> 510 < .default
> 510.value = row bg-gray-lighter
> stdWrap.required = 1
> stdWrap.noTrimWrap = | | |
> }
> #frames
> 20 = CASE
> 20 {
> key.field = section_frame
> default = TEXT
> default {
> value = csc-section-frame-default
> }
> 101 < .default
> 101.value = padding-small-top
> 110 < .default
> 110.value = padding-small-bottom
> 111 < .default
> 111.value = padding-small
>
> 102 < .default
> 102.value = padding-medium-top
> 120 < .default
> 120.value = padding-medium-bottom
> 122 < .default
> 122.value = padding-medium
>
> 103 < .default
> 103.value = padding-large-top
> 130 < .default
> 130.value = padding-large-bottom
> 133 < .default
> 133.value = padding-large
>
> 104 < .default
> 104.value = padding-xsmall-top
> 140 < .default
> 140.value = padding-xsmall-bottom
> 144 < .default
> 144.value = padding-xsmall
>
> 200 < .default
> 200.value = no-margin
> stdWrap.required = 1
> stdWrap.noTrimWrap = | | |
> }
>
> #responsive classes
> 21 = TEXT
> 21.field = responsive_classes
> 21.split {
> token = ,
> cObjNum = 1
> 1.10 = CASE
> 1.10 {
> key.current = 1
> default = TEXT
> default.value =
>
> 101 < .default
> 101.value = visible-xs
> 102 < .default
> 102.value = visible-sm
> 103 < .default
> 103.value = visible-md
> 104 < .default
> 104.value = visible-lg
>
> 201 < .default
> 201.value = hidden-xs
> 202 < .default
> 202.value = hidden-sm
> 203 < .default
> 203.value = hidden-md
> 204 < .default
> 204.value = hidden-lg
> }
> 1.stdWrap.noTrimWrap = || |
> }
>
> # Create class for space before content
> 90 = USER
> 90 {
> userFunc = tx_cssstyledcontent_pi1->renderSpace
> space = before
> constant = {$content.spaceBefore}
> classStdWrap {
> noTrimWrap = |csc-space-before-| |
> }
> }
> # Create class for space after content
> 91 = USER
> 91 {
> userFunc = tx_cssstyledcontent_pi1->renderSpace
> space = after
> constant = {$content.spaceAfter}
> classStdWrap {
> noTrimWrap = |csc-space-after-| |
> }
> }
>
> stdWrap {
> trim = 1
> noTrimWrap = | class=" |"|
> required = 1
> }
>
>
> }
>
> 30 = TEXT
> 30 {
> cObject = CASE
> cObject {
> key.field = CType
>
> default = TEXT
> default {
> value = >|</div>
> }
>
> menu < .default
> menu {
> override = >|</nav>
> override {
> if {
> value = html5
> equals.data = TSFE:config|config|doctype
> }
> }
> }
> }
> }
> }
>
> innerWrap.override = |
> innerWrap.override.if {
> value = fluidcontent_content
> equals.field = CType
> }
>
> innerWrap2 = | <p class="csc-linkToTop"><a
> href="#">{LLL:EXT:css_styled_content/pi1/locallang.xml:label.toTop}</a></p>
> innerWrap2.insertData = 1
> innerWrap2.fieldRequired = linkToTop
>
> prepend = TEXT
> prepend.dataWrap = <a id="c{field:_LOCALIZED_UID}"></a>
> prepend.if.isTrue.field = _LOCALIZED_UID
>
> editPanel = 1
> editPanel {
> allow = move,new,edit,hide,delete
> line = 5
> label = %s
> onlyCurrentPid = 1
> previewBorder = 4
> edit.displayRecord = 1
> }
>
> prefixComment = 1 | CONTENT ELEMENT, uid:{field:uid}/{field:CType}
>
> }
> tt_content.image.20.1.params = class="img-responsive"
>
> #tt_content.text.21 = TEXT
> #tt_content.text.21 < lib.headerlinktext
>
>
> Kann mir jemand da weiterhelfen?
>
> Danke!
--
Bergische Webschmiede
Dipl.-Ing. Stefan Padberg
TYPO3-Integrator und Webprogrammierer
:: Borner Str. 18 - 42349 Wuppertal
:: +49 202 97648355
:: +49 173 9219845
:: post at bergische-webschmiede.de
:: http://www.bergische-webschmiede.de
More information about the TYPO3-german
mailing list