[Typo3] Alternative layout for headers of different plugins - CAN'T be solved!
tapio
tapio.markula at dnainternet.net
Fri Jul 22 15:48:55 CEST 2005
tapio wrote:
> 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
This seems impossible to solve [condition] can't be used
because there is not suitable condition (I checked from TSRef)
More information about the TYPO3-english
mailing list