I'd leave the rendering of the lib.header alone. All you have to do it 
simply add these lines to get these ehader field for html Ctype to render
temp.old_html < tt_content.html
tt_content.html >
tt_content.html = COA
tt_content.html.10 = < lib.stdheader
tt_content.html.20 < temp.old_html


Or as Christopher said before, the easiest solution is to just use the 
Header Ctype

hth


Syed Mohammad Anees Masudi wrote:
> Hi All,
> 
> I have edit tbl_tt_content.php to show header and link field, now on BE I can 
> see the fields to set heading and its link, Also ddded this to my page 
> template setup field
> #
> # Temporary objects are defined:
> #
> lib.stdheader = COA
> lib.stdheader {
>   stdWrap.wrapAlign.field = header_position
>   stdWrap.typolink.parameter.field = header_link
>   stdWrap.fieldRequired = header
>   1 = TEXT
>   1.current = 1
>   1.fontTag = {$content.wrap.header1}
>   stdWrap.space = {$content.headerSpace}
> }
> 
> # 
> # CType: header
> #
> 
> tt_content.header = COA
> tt_content.header {
>   10 < lib.stdheader
>   10.stdWrap.space >
>   20 = TEXT
>   20.field = subheader
>   20.fontTag = {$content.wrap.subheader1}
> }
> #
> # CType: html
> #
> tt_content.html = COA
> tt_content.html {
>   10 = < lib.stdheader
>   20 < styles.content.html
> }
> 
> Now its showing only Heading with the link, but not the content, Any 
> Suggestions? Thanks in advance.
> 
> 
> Regards,
> Anees Masudi
> 
> 
> 
>> From: [email protected]
>> To: [email protected]
>> Date: Thu, 5 Feb 2009 19:19:51 +0500
>> Subject: Re: [TYPO3-english] Header for Plain Html like other content 
>> element types
>>
>>
>>> Hi
>>>
>>> Read TSref and take a look at the TSOB.
>>>
>>> hth
>> Hi Tyler Kraft
>>
>> Thanks for your reply, I am searching for this functionality but didn't find 
>> any success, can you please elaborate, or send some link or example.
>>
>>
>> Regards
>> Anees Masudi
>>
>> _________________________________________________________________
>> Invite your mail contacts to join your friends list with Windows Live 
>> Spaces. It's easy!
>> http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
>> _______________________________________________
>> TYPO3-english mailing list
>> [email protected]
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> 
> _________________________________________________________________
> Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
> 
> http://www.microsoft.com/windows/windowslive/photos.aspx
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Reply via email to