[Frage] Probleme mit typoscript nach Upgrade TYPO3 von v4.6.18 to v7.6.23 TYPO3-Version: 7.6.23

  • ovi1337 ovi1337
    Jar Jar Binks
    0 x
    1 Beiträge
    0 Hilfreiche Beiträge
    19. 11. 2017, 11:57

    Ich habe Typo3 von Version 4.x auf Version 7.6 ubgegraded und es scheint an manchen Stellen die genutzt werden, breaking changes oder andere Dinge gegeben zu haben, dass diese Typoscript Regeln nicht mehr funktionieren:
    [code]tt_content.stdWrap.innerWrap.cObject {
    #100 < tt_content.stdWrap.innerWrap.cObject.default
    #100.15.value = vtwBlue
    }
    tt_content.stdWrap.innerWrap.cObject = CASE
    tt_content.stdWrap.innerWrap.cObject {
    key.field = section_frame
    100 = TEXT
    100.value = <div class="right-column">|</div><div class="right-column-bottom"></div>
    }

    tt_content.stdWrap {
    innerWrap.cObject = CASE
    innerWrap.cObject {
    200 =< tt_content.stdWrap.innerWrap.cObject.default
    200.15.value = block
    200.30.value = ><div class="block-inner color-frame">|</div></div>

    210 =< tt_content.stdWrap.innerWrap.cObject.default
    210.15.value = block
    210.30.value = ><div class="block-inner color-frame-right-space">|</div></div>
    }
    }
    [/code]

    **Die Basis ist:**
    [code]<div id="c1270" class="csc-default">
    <div class="tx-accordion">
    <h1>test headline</h1>
    <span class="imgr">
    <img class="rund" src="..." width="50" height="50">
    </span>
    <p class="acSeminarStart">Test Name</p>
    <div class="clear"></div>
    <p class="bodytext"></p>
    <p class="bodytext">
    <a href="...">Mehr</a>
    </p>
    </div>
    </div>
    [/code]
    Und:
    [code]<div id="c2582" class="csc-default">
    <h3>Test title</h3>
    <div class="tx-lightbox">
    <div class="lightboxImage">
    <span class="imgr"></span>
    </div>
    <div class="lightboxText">
    <p class="bodytext">Test description</p>
    <span class="counter">23 Pictures</span>
    <a class="group2582 cboxElement rzslideshow" href="...">jetzt anschauen</a>
    </div>

    <a class="group2582 cboxElement rzslideshow" style="display:none;" href="..."></a>
    <a class="group2582 cboxElement rzslideshow" style="display:none;" href="..."></a>
    <div class="clear"></div>
    </div>
    </div>
    [/code]
    **Das Resultat soll wie Folgt sein. 'csc-default' -> 'block' und einen zusätzlichen wrapper div 'block-inner color-frame':**

    [code]<div id="c1270" class="block">
    <div class="block-inner color-frame">
    <div class="tx-accordion">
    <h1>test headline</h1>
    <span class="imgr">
    <img class="rund" src="..." width="50" height="50">
    </span>
    <p class="acSeminarStart">Test Name</p>
    <div class="clear"></div>
    <p class="bodytext"></p>
    <p class="bodytext">
    <a href="...">Mehr</a>
    </p>
    </div>
    </div>
    </div>
    [/code]
    Und:
    [code]<div id="c2582" class="block">
    <div class="block-inner color-frame">
    <h3>Test title</h3>
    <div class="tx-lightbox">
    <div class="lightboxImage">
    <span class="imgr" style="">
    <img class="rund" alt="Slideshow" src="..." width="300" height="240">
    </span>
    </div>
    <div class="lightboxText">
    <p class="bodytext">Test description</p>
    <span class="counter">23 Pictures</span>
    <a class="group2582 cboxElement rzslideshow" href="...">jetzt anschauen</a>
    </div>
    <a class="group2582 cboxElement rzslideshow" style="display:none;" href="..."></a>
    <a class="group2582 cboxElement rzslideshow" style="display:none;" href="..."></a>
    <div class="clear"></div>
    </div>
    </div>
    </div>
    [/code]

    Ich habe keine Ahnung, was da schief geht :(

    Edit:
    Scheinbar geht der Code-Block hier im Forum nicht, von daher mein Stackoverflow Post mit besserer Formatierung:
    https://stackoverflow.com/questions/47361634/problems-with-typoscript-rules-after-upgrading-typo3-from-v4-to-v7


  • 1
  • 1