[TYPO3-UG Quebec] Classe qui s'ajoute toute seule
Yannick Pavard
yannick.pavard at au-quebec.info
Sat Aug 26 03:07:02 CEST 2006
Bonjour Annie,
A partir de ton code, j'avais besoin de générer ceci :
<h2><span> mon titre </span></h2>
Mais je n'y suis pas arrivé, pourtant en Typoscript on peut préciser un wrap à
l'intérieur et non l'extérieur (les span dans les h2), enfin bref, j'ai
trouvé un autre code qui fait l'affaire pour ceux qui chercheraient à jouer
avec les entêtes :
lib.stdheader = COA
lib.stdheader {
10.1 = TEXT
10.1.current = 1
10.1.insertData = 1
10.1.fontTag = <h1>|</h1>
10.2 < .10.1
10.2.fontTag = <h2><span>|</span></h2>
10.3 < .10.1
10.3.fontTag = <h3>|</h3>
10.4 < .10.1
10.4.fontTag = <h4>|</h4>
10.5 < .10.1
10.5.fontTag = <h5>|</h5>
stdWrap.dataWrap = |
}
après il faut l'adapter bien sur
A+
Yannick
Le vendredi 18 août 2006 14:32, Annie Raymond a écrit :
> lib {
> stdheader {
> stdWrap {
> # remove DIVs around headings
> dataWrap =
> # remove comments for headings
> prefixComment =
> }
> # remove class for the first heading on the page
> 3.headerClass =
> 3.headerClass.noTrimWrap =
> # remove BR after headings
> 10.stdWrap.wrap =
> }
> }
More information about the TYPO3-UG-quebec
mailing list