Feature #40463
closedclass Subheader in hgroup
0%
Description
Hi mates,
I think that could be usefull add class to subheader. I also add a patch for a bug reported in http://forge.typo3.org/issues/40462
lib.stdheader.20 {
key {
field = header_layout
ifEmpty = {$content.defaultHeaderType}
ifEmpty.override.data = register: defaultHeaderType
}
default = TEXT
default {
wrap = <h2 class="subheader">|</h2>
htmlSpecialChars = 1
field = subheader
}
1 < .default
2 < .default
2.wrap = <h3 class="subheader">|</h3>
3 < .default
3.wrap = <h4 class="subheader">|</h4>
4 < .default
4.wrap = <h5 class="subheader">|</h5>
5 < .default
5.wrap = <h6 class="subheader">|</h6>
if {
isTrue {
field = subheader
}
value = html5
equals.data = TSFE:config|config|doctype
}
}
Updated by Frans Saris almost 10 years ago
- Status changed from New to Needs Feedback
As it is easy possible to adjust the HTML output by adding this to your own typoscript template I'm not sure if this should be part of the core.
Is it okay that we close this issue or else could you provide a patch?
Updated by Alexander Opitz over 9 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.