[TYPO3] Change the title of a page from TS

Dmitry Dulepov typo3 at fm-world.ru
Tue Jan 24 13:15:23 CET 2006


Hi!

Jérémy Lecour wrote:
> 
> That's exactly what I'd like to do but don't know how !
> You'd become my _put here any good word you'd like_ if you tell me how.

Well, try this. Make an extension template on the SINGLE page and put TS
there:

lib.titre_page >
lib.titre_page = CONTENT
lib.titre_page {
	table = tt_news
	select {
		selectFields = title
		where = 1=1
		andWhere {
			data = globalVar:tx_ttnews|tt_news
			wrap = uid=| and hidden=0 and deleted=0
		}
	}
	renderObj = TEXT
	renderObj.field = title
}

Does it work?

Dmitry.



More information about the TYPO3-english mailing list