Skip to content

Instantly share code, notes, and snippets.

@ABooooo
Created November 19, 2014 11:26
Show Gist options
  • Save ABooooo/40969846680a195b88a3 to your computer and use it in GitHub Desktop.
Save ABooooo/40969846680a195b88a3 to your computer and use it in GitHub Desktop.
Add custom header typ
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