Last active
December 20, 2015 23:18
-
-
Save josefglatz/6210945 to your computer and use it in GitHub Desktop.
TYPO3 CMS ext:css_styled_content lib.stdheader beginn with <h2> && <h1> for first CE in colPos 0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###### | |
# Ändern der stdHeader (damit er nicht bei h1 beginnt) | |
###### | |
lib { | |
stdheader { | |
10 { | |
stdWrap.wrap > | |
1.dataWrap = <h2>|</h2> | |
## set's first | |
1.dataWrap.override.cObject = TEXT | |
1.dataWrap.override.cObject.value = <h1>|</h1> | |
1.dataWrap.override { | |
# if CE is first element | |
if.value = 1 | |
if.equals.data = cObj:parentRecordNumber | |
# AND if CE is in colPos "0" | |
if.isFalse.field = colPos | |
} | |
2.dataWrap = <h3>|</h3> | |
3.dataWrap = <h4>|</h4> | |
4.dataWrap = <h5>|</h5> | |
5.dataWrap = <h5>|</h5> | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment