Posted on 17/08/2017 10:26:45
Hi Heine
Oh, yes - the viewmodels! What happens is that you call Placeholder() and/or GetPageContent() from the viewmodel - when you do that, we render the content of the page at the call time of that method. When using old fashioned templates, the tag is filled 'optimistic'. That means that because your top navigation is executed after the template instance has been filled with the paragraph and module output, and the catalog module therefore has been executed, it works. In the view model, you navigation tag is before your call to placeholder, causing this issue... Not an easy to understand explanation.
So - try to move you top navigation call to after the Placeholder()/GetPageContent() calls and see if that fixes the inpath.
Also I would like to see the template so I can reproduce the issue.
We will then find you a solution.
BR Nicolai