[Typo3] Fetching previous level's title

JoH info at cybercraft.de
Wed Jun 8 14:14:22 CEST 2005


> What I want to do is use gifbuilder to make a header for each page
> visited, and I have no problem doing that. It makes a gif showing the
> title "Under section" when I'm visiting an under section page. What I
> do want is for the gifbuilder to show the title "Main section", when
> I'm visiting an under section page.
>
> This is what the code looks like:
> centerImage = IMAGE
> centerImage.file = GIFBUILDER
> centerImage.file {
>   XY = [10.w]+5,30
>   10 = TEXT
>   10.fontFile = fileadmin/clearit/arial.ttf
>   10.text.field = title
>   10.fontColor = #599d2b
>   10.fontSize = 14
>   10.offset = 0, 20
>   10.align = left
>   10.antiAlias = 1
> }
>
> What should I put instead of title to show the title of the level
> before, is really my question.
>
> I've tried leveltitle:-2 etc, but I haven't gotten it to work. I'd
> really appreciate help in this matter.

The question is, what you should use instead of "field = title".
Then the answer is. "data = leveltitle:-2"
And this will be working.

;-)

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.openbc.com/go/invuid/Jo_Hasenau





More information about the TYPO3-english mailing list