[Typo3] Including field information from parent/root page

JoH info at cybercraft.de
Sat Jun 4 23:31:28 CEST 2005


>> lib.nav_2 = COBJ_ARRAY
>> lib.nav_2.1 = TEXT
>> lib.nav_2.1.value = {page:title}
>> lib.nav_2.1.insertData = 1
>> lib.nav_2.1.wrap = <div id="menuheader">|</div>
>>
>> and this displays the current page title on the page followed by a
>> menu, but I don't want the page title, I want the title of the
>> parent page. How can i get that data?
>
> I think the code is
> leveltitle:-1

Make it -2 and you're right ;-)
-1 is the current page

Have a look at my comment here to find out about positive and negative
values for levelwhatever:
http://typo3.org/documentation/document-library/doc_core_tsref/HMENU-1/
30-09-2003

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