Context of Structure not present when calling content page in TPP
Author: jan_bogutzki
Publication Date: 6/20/2018 14:20
Hi Community,
when we fetch a content page (green) with its previewId we get all the correct sections. Inside one special Sectiontemplate we check if a variable from the structure page (blue) has a certain value. When generating the site on disc thrigh the gnerate script or previewing the in site architect everything is fine. With TPP the variable is empty. Is there a way to set the structure context or do we miss something?
best regards
Jan Bogutzki
Tags: structure_variables, tpp
-
Author: Peter_Jodeleit - 6/22/2018 15:01
Hi Jan,
I created the internal ticket CORE-8415 for this.
Would it be possible for you to provide the context through other means? E.g. as a property of the page?Greetings, Peter
0 -
Author: jan_bogutzki - 6/25/2018 14:11
Hi Peter,
i will try this, but its not as easy as using the structure variable.
Additionally i found a bug, when generating a navigation via Navigation-Function and setting the root object this way:
<CMS_VALUE_PARAM name="root" value='"pagefolder:"+#global.node.parent.parent.uid' />
In SiteArchitect the structure is generated and matches to the content. When using TPP there is no navigation anymore. When i write #global.ref.* to my JSON, there are only empty values. (#global.node.* references the start page)
Seems to me, there is a related bug to my first question.
best regards
Jan
0 -
Author: jan_bogutzki - 7/5/2018 14:23
The issue gets fixed with TPP in Version 1.1.1.
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
3 commentaires