Project

General

Profile

Actions

Feature #40463

closed

class Subheader in hgroup

Added by Juan Manuel about 12 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-08-31
Due date:
% Done:

0%

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

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 = &lt;h3 class=&quot;subheader&quot;&gt;|&lt;/h3&gt;
3 < .default
3.wrap = &lt;h4 class=&quot;subheader&quot;&gt;|&lt;/h4&gt;
4 < .default
4.wrap = &lt;h5 class=&quot;subheader&quot;&gt;|&lt;/h5&gt;
5 < .default
5.wrap = &lt;h6 class=&quot;subheader&quot;&gt;|&lt;/h6&gt;
if {
isTrue {
field = subheader
}
value = html5
equals.data = TSFE:config|config|doctype
}
}
Actions #1

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?

Actions #2

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.

Actions

Also available in: Atom PDF