[TYPO3-dev] Subparts not substituted inT3 6.2?
    Helmut Hummel 
    helmut.hummel at typo3.org
       
    Mon Sep  9 10:58:57 CEST 2013
    
    
  
On 08.09.13 16:39, g4-lisz at tonarchiv.ch wrote:
> Same issue on 6.1.4 - what am I missing here?!
This TypoScript works perfectly on master for me:
page.30 = TEMPLATE
page.30.template = TEXT
page.30.template.value (
<!-- ###DOCUMENT_BODY### START-->
<div id="Page">
     <div id="LogoLayer">###LOGO###</div>
     <div id="Middle">
         <div id="Menu">
             <!-- ###MENU### START-->
                 <a href="start.htm">Navigation link</a>
             <!-- ###MENU### END-->
         </div>
         <div id="Inhalt">
             <!-- ###CONTENT### START-->
                 <h1>Welcome</h1>
             <p>Dummy content to be replaced.</p>
             <!-- ###CONTENT### END-->
         </div>
     </div>
     <div id="FooterLayer">###FOOTER###</div>
</div>
<!-- ###DOCUMENT_BODY### END-->
)
page.30.workOnSubpart = DOCUMENT_BODY
page.30.subparts {
   CONTENT < styles.content.get
   MENU = TEXT
   MENU.value = bar
}
Subparts are not replaced, if the object you assign is invalid (empty)
CONTENT < not.existant.path
So I guess that in your case the objects "styles.content.get" (maybe 
css_styled_content template not assigned), "lib.mainnav" and 
"lib.sidenav" (maybe ordering problem) are empty at the place you assign 
them to the subparts.
Kind regards,
Helmut
-- 
Helmut Hummel
Release Manager TYPO3 6.0
TYPO3 Core Developer, TYPO3 Security Team Member
TYPO3 .... inspiring people to share!
Get involved: typo3.org
    
    
More information about the TYPO3-dev
mailing list