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 = [ 
             [ 
                 'backend_layout_next_level' => '', // TypoScript root template page 
             ], 
             [ 
                 'backend_layout_next_level' => 'pagets__default', 
             ], 
             [ 
                 'backend_layout_next_level' => 'pagets__article', 
             ], 
             [ 
                 'backend_layout_next_level' => '', // Current page 
             ], 
         ]; 
 </pre> 

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

 Open the deepest page. It doesn't work.

Back