[Typo3] Getting the title of a page

michael karatepla at yahoo.fr
Wed Apr 20 10:34:01 CEST 2005


Ok I probably have something that mess me up

JoH's solution work fine.

Anyway thank you very much to have answered.

That really bring me courage.


Rudy Gnodde wrote:

>I just tested it and it worked.
>But JoH's solution should work too, so you can use that.
>
>Groeten,
>
>Rudy Gnodde
>Wijngaarden AutomatiseringsGroep & WIND Internetbureau
>Email: rgn at wag.nl
>WWW: http://www.wag.nl >-+-< http://www.typo3demo.nl
>
>
>-----Oorspronkelijk bericht-----
>Van: typo3-english-bounces at lists.netfielders.de [mailto:typo3-english-bounces at lists.netfielders.de] Namens michael
>Verzonden: woensdag 20 april 2005 10:00
>Aan: TYPO3 English
>Onderwerp: Re: [Typo3] Getting the title of a page
>
>Thank you Rudy for your answer
>
>What you propose make sens compare to exemple provide in the TSREF for 
>RECORDS
>
>Here is the complete code of the template adapted to your hint.
>
># Default PAGE object:
>page = PAGE
>page.typeNum = 0
>
>page.10 = RECORDS
>page.10 {
>  tables = pages
>  source = 32
>  conf.pages= TEXT
>  conf.pages.field = title
>}
>
>And unfortunatly when I visit any page (clearing all the cache before) 
>nothing show-up now.
>
>Michaël
>
>Rudy Gnodde wrote:
>
>  
>
>>Hello Michael,
>>
>>This should work:
>>
>>page.10 = RECORDS
>>page.10 {
>> tables = pages
>> source = 32
>> conf.pages= TEXT
>> conf.pages.field = title
>>}
>>
>>Groeten,
>>
>>Rudy Gnodde
>>Wijngaarden AutomatiseringsGroep & WIND Internetbureau
>>Email: rgn at wag.nl
>>WWW: http://www.wag.nl >-+-< http://www.typo3demo.nl
>>
>>
>>-----Oorspronkelijk bericht-----
>>Van: typo3-english-bounces at lists.netfielders.de
>>[mailto:typo3-english-bounces at lists.netfielders.de] Namens michael
>>Verzonden: woensdag 20 april 2005 9:18
>>Aan: typo3 english
>>Onderwerp: [Typo3] Getting the title ofa page 
>>
>>Hi,
>>here is the very working simple script I use to get the title of the 
>>current page
>>
>>.................................
>>page.10 = TEXT
>>page.10.field = title
>>................................
>>(work fine)
>>
>>But now I want to change this script to get all the time the title of 
>>the page wich has id = 32
>>
>>.................................
>>page.10 = TEXT
>>page.10.page_id = 32
>>page.10.field = title
>>...............................
>>(doesn't work I keep on getting the current title of the page)
>>
>>.................................
>>page.10 = TEXT
>>page.10.field.page_id = 32  ( or page.10.uid =32 or  page.10.field.uid =
>>
>>32 or page.10.field:uid =32 )
>>page.10.field = title
>>...............................
>>(all those attempts doesn't work either)
>>
>>page_id is given in the documenation TSREF but I probably misunderstood 
>>the use of it.
>>Any hint on this question would really help me.
>>
>>Thank you.
>>Michael
>>
>>_______________________________________________
>>Typo3-english mailing list
>>Typo3-english at lists.netfielders.de
>>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>_______________________________________________
>>Typo3-english mailing list
>>Typo3-english at lists.netfielders.de
>>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
>> 
>>
>>    
>>
>
>
>_______________________________________________
>Typo3-english mailing list
>Typo3-english at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>_______________________________________________
>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