Created
November 19, 2014 11:26
-
-
Save ABooooo/40969846680a195b88a3 to your computer and use it in GitHub Desktop.
Add custom header typ
This file contains hidden or 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
TS Config (root edit and code insert) | |
TCEFORM.tt_content.header_layout { | |
addItems { | |
10 = Gray Header | |
11 = Orange Header | |
12 = Red Header | |
} | |
} | |
TS Lib oder Setup edit | |
lib.stdheader.10.10 < lib.stdheader.10.1 | |
lib.stdheader.10.10 { | |
dataWrap = >h1 class="gray_header"<|>/h1< | |
} | |
lib.stdheader.10.11 < lib.stdheader.10.1 | |
lib.stdheader.10.11 { | |
dataWrap = <h1 class="orange_header">|</h1> | |
} | |
lib.stdheader.10.12 < lib.stdheader.10.1 | |
lib.stdheader.10.12 { | |
dataWrap = <h1 class="red_header">|</h1> | |
} | |
Source: http://jainishsenjaliya.wordpress.com/2013/12/19/how-to-add-custom-headers-in-typo3-backend/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment