[TYPO3] Change the title of a page from TS

Dmitry Dulepov typo3 at fm-world.ru
Mon Jan 23 19:46:38 CET 2006


Hi!

Jérémy Lecour wrote:
> My TS code for the title :
> lib.titre_page = TEXT
> lib.titre_page {
> 	data = page:title
> }
> It works very fine for all pages. But for my SINGLE page, I'd like to
> have my news page instead of my page real title (it is "Single news"
> and is not very pleasant ;-) )

I did not understand what exactly you want but it seems that you can do it in
one of two ways:
1. Create an extension template on that page and write TS there:
	lib.titre_page.value = My title
2. In the main TS template:
	lib.titre_page = TEXT
	lib.titre_page.data = page:title
	[globalVar = TSFE:id = 12345]
	lib.titre_page.data >
	lib.titre_page.value = My title
	[global]
    Here 12345 is SINGLE page id.

Dmitry.



More information about the TYPO3-english mailing list