[TYPO3] How to show content from parent page to all subpages

Alexander Agafonov master_nhg at mail.ru
Wed Aug 15 15:09:00 CEST 2007


Jan Bednarik пишет:
>> temp.mycontent = COA
>> temp.mycontent {
>>     10 = CONTENT
>>     10 {
>>         table = tt_content
>>         select {
>>             pidInList.data = leveluid:2
>>             # or any other level instead of 2
>>             # depends on the level of the parent pages
>>         }
>>     }
>>     20 < styles.content.get
>> }
> 
> I'd change this TS a bit:
> 
>  temp.mycontent = COA
>  temp.mycontent {
>      10 < styles.content.get
>      10 {
>          select {
>              pidInList.data = leveluid:2
>              # or any other level instead of 2
>              # depends on the level of the parent pages
>          }
>      }
>      20 < styles.content.get
> }
> 
> then you don't need to worry about language overlay etc.
> 

Is it mean what I need to place this code to all my sub pages? If it 
true it's not easy, because too many pages. Or I can place it to 
Tsconfig field on my parent page?


More information about the TYPO3-english mailing list