TYPO3 H-Tags formatieren

language: TypoScript
license: Other

Code for Snippet:

                
#H-TAG Formatierung ==========================================================================
## Nur einmal die Standard├╝berschrift H1 auf der Seite anzeigen alle anderen H1s in H2s umwandeln
	temp.stdheader < lib.stdheader 
	lib.stdheader > 
	lib.stdheader = CASE 
	lib.stdheader { 
  		1 < temp.stdheader 
  		2 < temp.stdheader 
  		3 < temp.stdheader 
  		4 < temp.stdheader
 		default < temp.stdheader 
} 
 
 	lib.stdheader.default.10.1.fontTag = <h2>|</h2> 
	lib.stdheader.1.10.1.fontTag = <h2>|</h2> 
	lib.stdheader.2.10.1.fontTag = <h3>|</h3> 
	lib.stdheader.3.10.1.fontTag = <h4>|</h4>
	lib.stdheader.4.10.1.fontTag = <h5>|</h5>
 
comments powered by Disqus

Info

Link to this snippet:


Download to Code Collector

To use the direct link to your snippet on CodeCollector.net either copy the html from the above section or drag the Download to Code Collector to where you would like to use it.

More Info:

Times Viewed: 175
Date Added: 2011-09-07 09:02:13
Last Modified: 0000-00-00 00:00:00

Web Analytics