Project

General

Profile

Bug #98044

Updated by Nikita Hovratov over 2 years ago

The pagelayout is not resolved correctly. 

 
 To recreate, create a rootline with 4 pages like this: 

 <pre> 
         $rootLine 3 pages. 
 Give the rootpage a backend_layout_next_level = [ 
             [ 
                 'backend_layout_next_level' => '', // TypoScript root template pagets__default 
 And the second level page 
             ], 
             [ 
                 'backend_layout_next_level' => 'pagets__default', 
             ], 
             [ 
                 'backend_layout_next_level' => 'pagets__article', 
             ], 
             [ 
                 'backend_layout_next_level' => '', // Current backend_layout_next_level = pagets__article 
 The third level page 
             ], 
         ]; 
 </pre> does not have any backend_layout set. 

 Add the condition: 
 [tree.pagelayout == "pagets__article"] 
     page.10 = TEXT 
     page.10.value = It works! 
 [else] 
     page.10 = TEXT 
     page.10.value = It doesn't work :( 
 [end] 

 Open the deepest third-level page. It doesn't work. The text is not added.

Back