[TYPO3] Using subtitle in template

Dmitry Dulepov dmitry at typo3.org
Mon Oct 16 13:20:54 CEST 2006


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

> 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.

-- 
Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)



More information about the TYPO3-english mailing list