[TYPO3] Some different headers

Fred hamel at urbansecurity.org
Tue Jul 10 17:59:29 CEST 2007


This is quite working :
lib.stdheader.stdWrap.dataWrap = <div class="csc-header">|</div>
#header normal
lib.stdheader.10.1.fontTag = <h1>|</h1>
#header layout 2
lib.stdheader.10.2 = COA
lib.stdheader.10.2{
    10 = TEXT
    10.value = <table><tr><td><h1>
    20 = TEXT
    20.value = {field:header}</h1></td><td>
    20.insertData = 1
    30 = USER
        30.userFunc = user_functions->my_flags
        30.factor = {field:header_link}
        30.factor.insertData = 1
        40 = TEXT
        40.value = </td></tr></table>
    }

But I've got a bug with the contents below (all is in one column).
I'm trying to fix it.

Jan Bednarik a écrit :
> lib.stdheader.10.1 {
>  cObject = COA
>  cObject{
>       10 = TEXT
>       10.value = <tr><td class="menu_2_lvl_2_no">
>       20 = USER
>       20.userFunc = user_functions->my_function
>       20.factor = 2
>       30 = TEXT
>       30.value =  | </td></tr>
>  }
>  }
>
> Does it work? Or maybe even:
>
> lib.stdheader.10.1 = COA
> lib.stdheader.10.1 {
>       10 = TEXT
>       10.value = <tr><td class="menu_2_lvl_2_no">
>       20 = USER
>       20.userFunc = user_functions->my_function
>       20.factor = 2
>       30 = TEXT
>       30.value =  | </td></tr>
>  }
>
>> I'm trying to do the same with the header but I'm a bit confused with 
>> the objects, the syntax ans the various wrap.
>
> We all are sometimes ;)
>


More information about the TYPO3-english mailing list