[Typo3] Getting page title tile

David Hawks typo3 at synoptikon.com
Thu May 12 14:11:41 CEST 2005


Hi,

I have stumbled across the answer from the manual for the Flash header
tutorial here
http://typo3.org/documentation/document-library/flash_pageheader/Customizing
_the_repl/

It seems I needed to add these two lines

10.text = {page:title}
10.text.insertData = 1

So if anyone would like the completed code it's like this:

lib.page_title = IMAGE
lib.page_title.file = GIFBUILDER
lib.page_title.file {
	XY = 190,30
	backColor = #C0C0C0
	10 = TEXT
	10.text = {page:title}
	10.text.insertData = 1
	10.offset = 8,22
 	10.align = left
	10.fontColor = #ffffff
	10.fontSize = 18
	10.fontFile = t3lib/fonts/malmo.ttf
}

Cheers
David


-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of David Hawks
Sent: 12 May 2005 11:40
To: 'TYPO3 English'
Subject: [Typo3] Getting page title tile

Hi,

I am trying to print create a graphic with the page title as the as the text
on the image, but I can't seem to "pass" the page name to the Gifbuilder
Object. Any assistance would be greatly appreciated as I'm totally stumped
:(

Here is what I have:

page.20.MY_TLO.10 = TEXT
page.20.MY_TLO.10.field = title

page.30 < page.20.MY_TLO.10

lib.page_title = IMAGE
lib.page_title.file = GIFBUILDER
lib.page_title.file {
	XY = 190,30
	backColor = #C0C0C0
	10 = TEXT
	10.text = page.20.MY_TLO.10
	10.offset = 8,22
 	10.align = left
	10.fontColor = #ffffff
	10.fontSize = 18
	10.fontFile = t3lib/fonts/malmo.ttf
}

Many thanks

David



_______________________________________________
Typo3-english mailing list
Typo3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english





More information about the TYPO3-english mailing list