[Typo3] Alternative layout for headers of different plugins
tapio
tapio.markula at dnainternet.net
Fri Jul 22 11:51:36 CEST 2005
Hi
I found that I can set alternative layout for header by using the
content type, for example
tt_content.list = COA
tt_content.list {
10 = < lib.stdheader
10.stdWrap.dataWrap=<div class="csc-list-header
csc-list-header-n{cObj:parentRecordNumber}">|</div>
15=TEXT
15{
field = subheader
required = 1
dataWrap = <p class="csc-list-subheader
csc-list-subheader-size-{field:header_layout}">|</p>
htmlSpecialChars = 1
...
}
The problem is that ALL plugins, which use the content type 'list' share
the same definitions - now for example 'mininews' and 'calendar' share it?
I tried this:
[tt.content.list_type=mininews_pi1]
tt_content.list = COA
tt_content.list {
10 = < lib.stdheader
10.stdWrap.dataWrap=<div class="csc-mininews-header
csc-list-header-n{cObj:parentRecordNumber}">|</div>
15=TEXT
15{
...
[else]
tt_content.list = COA
tt_content.list {
10 = < lib.stdheader
10.stdWrap.dataWrap=<div class="csc-list-header
csc-list-header-n{cObj:parentRecordNumber}">|</div>
15=TEXT
15{
field = subheader
required = 1
but that didn't work
More information about the TYPO3-english
mailing list