[TYPO3] Using subtitle in template
Edwin Blokker
a.stoutjesdijk at chello.nl
Mon Oct 16 13:42:54 CEST 2006
Hi,
> Hi!
>
> Edwin Blokker wrote:
>> I want to use the pages subtitle as a text in my template. I use this
>> typoscript:
>>
>> # subtitle
>> lib.sub = TEXT
>> lib.sub {
>> value = domain.com
>> value.override.field = subtitle
>> value.wrap = domain.com: |
>> }
>>
>> And have tried many variations on this one, but none of them show any
>> result. What am I doing wrong?
>
> You are trying to get subtitle from tt_content but you need pages table.
> So try:
> value.override.data = page:subtitle
Thanks. I have just tried this, and when viewing the page, it just shows
'domain.com', it isn't overwritten with the subtitle. The page I'm
viewing does have a subtitle.
>
>> BTW, I'm new to typoscript, I hope questions like this are appropriate
>> on this list. I could not find a special 'newbie list'.
>
> It is ok, support is here, in this list.
>
Ok, thanks!
More information about the TYPO3-english
mailing list