[TYPO3] Some different headers

2007-07-10 Thread Fred
Hi, I'm building a site with typo3 4.0.1. I used the template object browser to modify my headers like that : lib.stdheader.stdWrap.dataWrap = | lib.stdheader.10.1.fontTag = | My problem, now, is I'd like to develop this technic a bit more, to insert a php script inside this header, for exemple,

Re: [TYPO3] Some different headers

2007-07-10 Thread Jan Bednarik
> My problem, now, is I'd like to develop this technic a bit more, to > insert a php script inside this header, for exemple, and moreover I'd For such purpose you'd need to create your own header type as a extension (maybe there is such already). > like to know if (and how) it's possible to de

Re: [TYPO3] Some different headers

2007-07-10 Thread Fred
If you'r dealing about CSS style it's not a problem, in fact it's what gave me the idea of using header's layout for my purpoose. I want to use them just to write a texte "read more..." that will link to an internal page. But next to it I'd like to insert the php script I used with my menu to di

Re: [TYPO3] Some different headers

2007-07-10 Thread Jan Bednarik
> by "playing" with the wrap or the fontTag. You don't need to play only with the fontTag. You can use all stdWrap magic on lib.stdheader.10.1. But still, I don't think you can put through any PHP code. -- Jan Bednarik www.bednarik.org - web about Typo3 in czech ___

Re: [TYPO3] Some different headers

2007-07-10 Thread Fred
What I'd like to do is something like I've done for my menu. NO{ allWrap.cObject = COA allWrap.cObject{ 10 = TEXT 10.value = 20 = USER 20.userFunc = user_functions->my_function 20.factor = 2 30 = TEXT 30.value = | } } I'm trying to do the same wit

Re: [TYPO3] Some different headers

2007-07-10 Thread Jan Bednarik
lib.stdheader.10.1 { cObject = COA cObject{ 10 = TEXT 10.value = 20 = USER 20.userFunc = user_functions->my_function 20.factor = 2 30 = TEXT 30.value = | } } Does it work? Or maybe even: lib.stdheader.10.1 = COA lib.stdheader.10.1 {

Re: [TYPO3] Some different headers

2007-07-10 Thread Fred
This is quite working : lib.stdheader.stdWrap.dataWrap = | #header normal lib.stdheader.10.1.fontTag = | #header layout 2 lib.stdheader.10.2 = COA lib.stdheader.10.2{ 10 = TEXT 10.value = 20 = TEXT 20.value = {field:header} 20.insertData = 1 30 = USER 30.userFunc =